From 9f7f08254804b438d9d4fedbf4457e1a892bcffb Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Tue, 12 Nov 2024 14:43:44 +0100 Subject: [PATCH] fix: load first the shield from disk --- scripts/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wallet.js b/scripts/wallet.js index eac0d810a..4908853ef 100644 --- a/scripts/wallet.js +++ b/scripts/wallet.js @@ -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.