From 40b01777dd64941daffbe22fc25cb3a25eee0998 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 15 Apr 2015 17:19:49 +0200 Subject: Be less strict when writing entryhash files. Closes CATLFISH-44. --- src/storage.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/storage.erl') diff --git a/src/storage.erl b/src/storage.erl index 9f4bb5a..e208d9b 100644 --- a/src/storage.erl +++ b/src/storage.erl @@ -26,7 +26,7 @@ request(post, "ct/storage/entrycommitted", Input) -> {struct, PropList} -> EntryHash = base64:decode(proplists:get_value(<<"entryhash">>, PropList)), LeafHash = base64:decode(proplists:get_value(<<"treeleafhash">>, PropList)), - ok = db:add_entryhash(LeafHash, EntryHash), + db:add_entryhash(LeafHash, EntryHash), success({[{result, <<"ok">>}]}) end; request(get, "ct/storage/fetchnewentries", _Input) -> -- cgit v1.1