diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-09-10 10:19:31 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-09-10 10:19:31 +0200 |
commit | 187b647954cc9d30a48d27c2c9773d31999112f9 (patch) | |
tree | 79699912604b16a90b3dbafeb4848369a51d3f00 | |
parent | 88a153c5411db97aea64dde5051c468cc1b827f5 (diff) |
Fix missing spec change.
-rw-r--r-- | src/plop.erl | 2 |
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}) -> |