summaryrefslogtreecommitdiff
path: root/src/frontend.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend.erl')
-rw-r--r--src/frontend.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend.erl b/src/frontend.erl
index 60f588a..707af0c 100644
--- a/src/frontend.erl
+++ b/src/frontend.erl
@@ -198,7 +198,9 @@ check_entries(Treesize) ->
End = Treesize - 1,
Start = db:sendsth_verified() + 1,
lager:debug("Top level checking entries ~p-~p", [Start, End]),
- check_entries_chunked(Start, End).
+ Errors = check_entries_chunked(Start, End),
+ db:commit_entryhash(),
+ Errors.
check_entries_chunked(Start, End) ->
lager:debug("Checking entries ~p-~p", [Start, End]),