summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-10 10:19:31 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-10 10:19:31 +0200
commit187b647954cc9d30a48d27c2c9773d31999112f9 (patch)
tree79699912604b16a90b3dbafeb4848369a51d3f00 /src
parent88a153c5411db97aea64dde5051c468cc1b827f5 (diff)
Fix missing spec change.
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}) ->