aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/transactions.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 14de786b7..42baaaadc 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -249,9 +249,13 @@ module.exports = class TransactionController extends EventEmitter {
but higher/same gas price"
*/
- if (errorMessage !== 'replacement transaction underpriced' // geth
- && errorMessage !== 'gas price too low to replace' // parity
- && !errorMessage.startsWith('known transaction')) { // geth
+ // geth
+ if (errorMessage !== 'replacement transaction underpriced'
+ // geth
+ && !errorMessage.startsWith('known transaction')
+ // parity
+ && errorMessage !== 'gas price too low to replace'
+ ) {
this.setTxStatusFailed(txId)
}
return cb(err)