Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
unlock pending transactions when cloning executables
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaiahReid committed Jul 28, 2022
1 parent bf6e0f4 commit e517948
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/chains/ethereum/ethereum/src/transaction-pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,12 @@ export default class TransactionPool extends Emittery<{ drain: undefined }> {
inProgress.delete(transaction);
});
}

if (pending.size > 0) {
pending.forEach(txsFromOrigin => {
txsFromOrigin.array.forEach(tx => {
tx.locked = false;
});
});
}
return executables;
Expand Down

0 comments on commit e517948

Please sign in to comment.