walletdb: less load for browser.
This commit is contained in:
parent
1df11caf71
commit
9d8f95ee0f
@ -601,7 +601,8 @@ WalletDB.prototype.getDepth = co(function* getDepth() {
|
||||
iter = this.db.iterator({
|
||||
gte: layout.w(0x00000000),
|
||||
lte: layout.w(0xffffffff),
|
||||
reverse: true
|
||||
reverse: true,
|
||||
limit: 1
|
||||
});
|
||||
|
||||
item = yield iter.next();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user