Skip to content

Commit

Permalink
We should still check locked transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Mar 3, 2024
1 parent a5f5b25 commit cd23be3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/WalletBackend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2889,15 +2889,16 @@ export class WalletBackend extends EventEmitter {
* Remove any transactions that have been cancelled
*/
private async checkLockedTransactions(): Promise<void> {
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[]
Expand Down

0 comments on commit cd23be3

Please sign in to comment.