summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plop.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plop.erl b/src/plop.erl
index f9a4227..ef7e53f 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -229,7 +229,7 @@ spt(LogID, PrivKey, #timestamped_entry{
signature = Signature}.
%% @doc Signed Tree Head as specified in RFC6962 section 3.2.
--spec sth(#'ECPrivateKey'{}, ht:head(), sth_signed() | list()) -> sth().
+-spec sth(#'ECPrivateKey'{}, ht:history_tree(), sth_signed() | list()) -> sth().
sth(PrivKey, Tree, []) ->
sth(PrivKey, Tree, #sth_signed{timestamp = now});
sth(PrivKey, Tree, #sth_signed{version = Version, timestamp = Timestamp_in}) ->