summaryrefslogtreecommitdiff
path: root/src/db.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.erl')
-rw-r--r--src/db.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db.erl b/src/db.erl
index 0361aaf..6430661 100644
--- a/src/db.erl
+++ b/src/db.erl
@@ -39,9 +39,9 @@ stop() ->
-spec add(binary(), binary()) -> ok.
add(LeafHash, Data) ->
- lager:debug("add leafhash ~p", [LeafHash]),
+ lager:debug("add leafhash ~s", [mochihex:to_hex(LeafHash)]),
ok = perm:ensurefile(entry_root_path(), LeafHash, Data),
- lager:debug("leafhash ~p added", [LeafHash]),
+ lager:debug("leafhash ~s added", [mochihex:to_hex(LeafHash)]),
ok.
-spec add_entryhash(binary(), binary()) -> ok.