aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r--app/scripts/controllers/transactions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 18bb245de..933c079d2 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -427,10 +427,12 @@ module.exports = class TransactionController extends EventEmitter {
const isKnownTx = (
// geth
errorMessage === 'replacement transaction underpriced'
- || errorMessage.startsWith('known transaction')
+ || errorMessage.includes('known transaction')
// parity
|| errorMessage === 'gas price too low to replace'
|| errorMessage === 'transaction with the same hash was already imported.'
+ // other
+ || errorMessage.includes('gateway timeout')
)
// ignore resubmit warnings, return early
if (isKnownTx) return