mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
Deleting transactions from currentNetworkTxnList based on unique address along with nonce and chainId (#13669)
This commit is contained in:
parent
30b2afe7bc
commit
2bab7ada8f
@ -249,9 +249,9 @@ export default class TransactionStateManager extends EventEmitter {
|
||||
const txsToDelete = transactions
|
||||
.reverse()
|
||||
.filter((tx) => {
|
||||
const { nonce } = tx.txParams;
|
||||
const { nonce, from } = tx.txParams;
|
||||
const { chainId, metamaskNetworkId, status } = tx;
|
||||
const key = `${nonce}-${chainId ?? metamaskNetworkId}`;
|
||||
const key = `${nonce}-${chainId ?? metamaskNetworkId}-${from}`;
|
||||
if (nonceNetworkSet.has(key)) {
|
||||
return false;
|
||||
} else if (
|
||||
|
Loading…
Reference in New Issue
Block a user