walletdb: fix scan log
This commit is contained in:
parent
d489238711
commit
52584af3c2
@ -447,12 +447,12 @@ WalletDB.prototype.scan = async function scan(height) {
|
||||
|
||||
assert(util.isU32(height), 'WDB: Must pass in a height.');
|
||||
|
||||
await this.rollback(height);
|
||||
|
||||
this.logger.info(
|
||||
'WalletDB is scanning %d blocks.',
|
||||
this.state.height - height + 1);
|
||||
|
||||
await this.rollback(height);
|
||||
|
||||
const tip = await this.getTip();
|
||||
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user