From cd23be3209c3c64368209b2c1f8ae1c1501679c8 Mon Sep 17 00:00:00 2001 From: n9lsjr Date: Sun, 3 Mar 2024 15:36:05 +0100 Subject: [PATCH] We should still check locked transactions --- lib/WalletBackend.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/WalletBackend.ts b/lib/WalletBackend.ts index 693e6db..53df576 100644 --- a/lib/WalletBackend.ts +++ b/lib/WalletBackend.ts @@ -2889,15 +2889,16 @@ export class WalletBackend extends EventEmitter { * Remove any transactions that have been cancelled */ private async checkLockedTransactions(): Promise { - if (!this.config.scanPoolTransactions) return + logger.log( 'Checking locked transactions...', LogLevel.DEBUG, [LogCategory.SYNC, LogCategory.TRANSACTIONS], ); - await this.checkPoolTransactions() - + if (this.config.scanPoolTransactions) { + await this.checkPoolTransactions() + } const lockedTransactionHashes: string[] = this.subWallets.getLockedTransactionHashes(); const cancelledTransactions: string[]