Skip to content

Commit

Permalink
fix: load first the shield from disk
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Nov 12, 2024
1 parent 7eb8b65 commit 9f7f082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ export class Wallet {
// This is done to avoid a huge spam of event.
getEventEmitter().disableEvent('balance-update');

await this.loadFromDisk();
await this.loadShieldFromDisk();
await this.loadFromDisk();
// Let's set the last processed block 5 blocks behind the actual chain tip
// This is just to be sure since blockbook (as we know)
// usually does not return txs of the actual last block.
Expand Down

0 comments on commit 9f7f082

Please sign in to comment.