|
|
@ -34,7 +34,7 @@ TransactionListItem.prototype.showRetryButton = function () { |
|
|
|
const currentNonce = txParams.nonce |
|
|
|
const currentNonce = txParams.nonce |
|
|
|
const currentNonceTxs = transactions.filter(tx => tx.txParams.nonce === currentNonce) |
|
|
|
const currentNonceTxs = transactions.filter(tx => tx.txParams.nonce === currentNonce) |
|
|
|
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted') |
|
|
|
const currentNonceSubmittedTxs = currentNonceTxs.filter(tx => tx.status === 'submitted') |
|
|
|
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[currentNonceSubmittedTxs.length - 1] |
|
|
|
const lastSubmittedTxWithCurrentNonce = currentNonceSubmittedTxs[0] |
|
|
|
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce |
|
|
|
const currentTxIsLatestWithNonce = lastSubmittedTxWithCurrentNonce |
|
|
|
&& lastSubmittedTxWithCurrentNonce.id === transaction.id |
|
|
|
&& lastSubmittedTxWithCurrentNonce.id === transaction.id |
|
|
|
|
|
|
|
|
|
|
|