aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-07-08 10:02:34 +0800
committerkumavis <aaron@kumavis.me>2017-07-08 10:02:34 +0800
commit4fa999e4deae5451e73c126a80e541db6e3d0dc3 (patch)
tree710bd1ec20c8bf5a85a0733abbf35b404feb5c34 /app/scripts
parentfd6caf871368d2339f91ad6ae339062daf303d87 (diff)
downloadtangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar.gz
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar.bz2
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar.lz
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar.xz
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.tar.zst
tangerine-wallet-browser-4fa999e4deae5451e73c126a80e541db6e3d0dc3.zip
tx controller - resubmit - recognize parity known hash message
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/transactions.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 41d70194e..bcce1bf8f 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -431,6 +431,7 @@ module.exports = class TransactionController extends EventEmitter {
|| errorMessage.startsWith('known transaction')
// parity
|| errorMessage === 'gas price too low to replace'
+ || errorMessage === 'transaction with the same hash was already imported.'
)
// ignore resubmit warnings, return early
if (!isKnownTx) this.setTxStatusFailed(txMeta.id, reason.message)