|
|
@ -30,7 +30,7 @@ function transformState (state) { |
|
|
|
const transactions = newState.TransactionController.transactions |
|
|
|
const transactions = newState.TransactionController.transactions |
|
|
|
newState.TransactionController.transactions = transactions.map((txMeta) => { |
|
|
|
newState.TransactionController.transactions = transactions.map((txMeta) => { |
|
|
|
if (!txMeta.status === 'failed') return txMeta |
|
|
|
if (!txMeta.status === 'failed') return txMeta |
|
|
|
if (txMeta.retryCount > 0) { |
|
|
|
if (txMeta.retryCount > 0 && txMeta.retryCount < 2) { |
|
|
|
txMeta.status = 'submitted' |
|
|
|
txMeta.status = 'submitted' |
|
|
|
delete txMeta.err |
|
|
|
delete txMeta.err |
|
|
|
} |
|
|
|
} |
|
|
|