Merge pull request #377 from nodar-chkuaselidze/fix/rescan-log
walletdb: fix scan log
This commit is contained in:
commit
4188a8431f
@ -441,12 +441,12 @@ class WalletDB extends EventEmitter {
|
||||
|
||||
assert((height >>> 0) === 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