summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/v1.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v1.erl b/src/v1.erl
index 206ca8a..6ab9e75 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -87,7 +87,7 @@ encode_entries(Entries) ->
binary_to_list(jiffy:encode({[{entries, encode_entries2(Entries)}]})).
encode_entries2([H|T]) ->
LeafInput = base64:encode(plop:serialise(H)),
- ExtraData = "",
+ ExtraData = base64:encode(""),
[{[{leaf_input, LeafInput}, {extra_data, ExtraData}]} | encode_entries2(T)];
encode_entries2([]) ->
[].