1
0
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:
kumavis 2017-07-07 19:02:34 -07:00
parent fd6caf8713
commit 4fa999e4de

View File

@ -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)