diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-07-07 16:37:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 16:37:45 +0800 |
commit | 8661989f516ae4455117e5158a97b4a6912a1980 (patch) | |
tree | 51917f3fc07df0605f2b6164adae06ee81897b31 | |
parent | 99556684096ed788ef01c909ff4cb4b0e61d3a05 (diff) | |
download | tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar.gz tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar.bz2 tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar.lz tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar.xz tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.tar.zst tangerine-wallet-browser-8661989f516ae4455117e5158a97b4a6912a1980.zip |
tx controller - move comments
-rw-r--r-- | app/scripts/controllers/transactions.js | 10 |
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) |