diff options
Diffstat (limited to 'src/db.erl')
-rw-r--r-- | src/db.erl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ leafhash_for_entryhash(EntryHash) -> get_by_indices_helper(Start, _End) when Start < 0 -> []; get_by_indices_helper(Start, End) -> - EndBound = min(End, size() - 1), + EndBound = min(End, indexsize() - 1), case Start =< EndBound of true -> lists:map(fun ({LeafHash, Index}) -> |