Debug with correct position

This commit is contained in:
Jaco Greeff
2018-09-03 16:39:34 +02:00
parent a9ee22bf08
commit 1f6d7bb118
+1 -1
View File
@@ -210,7 +210,7 @@ export default class FileFlatDb implements BaseDb {
if (entryType === Slot.BRANCH) {
const nextBranchAt = branch.readUIntBE(entryIndex + 1, UINT_SIZE);
l.debug(() => ['findKey/isBranch', { branchAt }]);
l.debug(() => ['findKey/isBranch', { nextBranchAt }]);
return this._findKey(key, doCreate, keyIndex + 1, nextBranchAt);
}