summaryrefslogtreecommitdiff
path: root/src/frontend.erl
diff options
context:
space:
mode:
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