From 187b647954cc9d30a48d27c2c9773d31999112f9 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 10 Sep 2014 10:19:31 +0200 Subject: Fix missing spec change. --- src/plop.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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}) -> -- cgit v1.1