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[]