|
|
@ -249,9 +249,13 @@ module.exports = class TransactionController extends EventEmitter { |
|
|
|
but higher/same gas price" |
|
|
|
but higher/same gas price" |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
if (errorMessage !== 'replacement transaction underpriced' // geth
|
|
|
|
// geth
|
|
|
|
&& errorMessage !== 'gas price too low to replace' // parity
|
|
|
|
if (errorMessage !== 'replacement transaction underpriced'
|
|
|
|
&& !errorMessage.startsWith('known transaction')) { // geth
|
|
|
|
// geth
|
|
|
|
|
|
|
|
&& !errorMessage.startsWith('known transaction') |
|
|
|
|
|
|
|
// parity
|
|
|
|
|
|
|
|
&& errorMessage !== 'gas price too low to replace' |
|
|
|
|
|
|
|
) { |
|
|
|
this.setTxStatusFailed(txId) |
|
|
|
this.setTxStatusFailed(txId) |
|
|
|
} |
|
|
|
} |
|
|
|
return cb(err) |
|
|
|
return cb(err) |
|
|
|