summaryrefslogtreecommitdiff
path: root/src/frontend.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-08-17 16:02:42 +0200
committerLinus Nordberg <linus@nordu.net>2015-08-19 16:28:35 +0200
commitc853ee34a2d2d047cc456a9fc78b2904b22dad9c (patch)
tree03e892ffd4ad25ebe23e69275dd725421654b26a /src/frontend.erl
parent85411c74332775b6b2dbc06f40074a26e7f6ba3e (diff)
Wrap entries in plop wrapper
Diffstat (limited to 'src/frontend.erl')
-rw-r--r--src/frontend.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend.erl b/src/frontend.erl
index 89df7b8..ccaf811 100644
--- a/src/frontend.erl
+++ b/src/frontend.erl
@@ -230,7 +230,7 @@ verify_entry(Entry) ->
Module:Function(Entry).
check_entry(LeafHash, Index) ->
- case db:get_by_leaf_hash(LeafHash) of
+ case plop:get_by_leaf_hash(LeafHash) of
notfound ->
{notfound, Index};
{Index, LeafHash, Entry} ->
@@ -252,8 +252,8 @@ check_entry(LeafHash, Index) ->
end.
check_entry_noreverse(LeafHash, Index) ->
- case db:entry_for_leafhash(LeafHash) of
- noentry ->
+ case plop:entry_for_leafhash(LeafHash) of
+ notfound ->
{notfound, Index};
Entry ->
case verify_entry(Entry) of