Skip to content

Commit

Permalink
Merge pull request #377 from nodar-chkuaselidze/fix/rescan-log
Browse files Browse the repository at this point in the history
walletdb: fix scan log
  • Loading branch information
chjj authored Apr 6, 2018
2 parents 10e6b9a + bb93599 commit 4188a84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wallet/walletdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4188a84

Please sign in to comment.