summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-10-10 00:01:50 +0200
committerLinus Nordberg <linus@nordberg.se>2014-10-10 00:01:50 +0200
commit25041bc1c1bcd264ae97f8d0506ccec43e75a253 (patch)
treea7c80d7111d2d732c14c314aa6614c6f9dd50da2 /src
parent7bd137827bb60481569f26bed3028398a5e5aa06 (diff)
Use proper return value format for plop:inclusion_and_entry().
Diffstat (limited to 'src')
-rw-r--r--src/catlfish.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catlfish.erl b/src/catlfish.erl
index d105591..e261824 100644
--- a/src/catlfish.erl
+++ b/src/catlfish.erl
@@ -125,7 +125,7 @@ entry_and_proof(Index, TreeSize) ->
binary_to_list(
jiffy:encode(
case plop:inclusion_and_entry(Index, TreeSize) of
- {ok, {Entry, Path}} ->
+ {ok, Entry, Path} ->
{Timestamp, LeafCertVector, CertChainVector} = unpack_entry(Entry),
MTL = build_mtl(Timestamp, LeafCertVector),
{[{leaf_input, base64:encode(MTL)},