mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
tx controller - resubmit - recognize parity known hash message
This commit is contained in:
parent
fd6caf8713
commit
4fa999e4de
@ -431,6 +431,7 @@ module.exports = class TransactionController extends EventEmitter {
|
|||||||
|| errorMessage.startsWith('known transaction')
|
|| errorMessage.startsWith('known transaction')
|
||||||
// parity
|
// parity
|
||||||
|| errorMessage === 'gas price too low to replace'
|
|| errorMessage === 'gas price too low to replace'
|
||||||
|
|| errorMessage === 'transaction with the same hash was already imported.'
|
||||||
)
|
)
|
||||||
// ignore resubmit warnings, return early
|
// ignore resubmit warnings, return early
|
||||||
if (!isKnownTx) this.setTxStatusFailed(txMeta.id, reason.message)
|
if (!isKnownTx) this.setTxStatusFailed(txMeta.id, reason.message)
|
||||||
|
Loading…
Reference in New Issue
Block a user