1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

tx controller - move comments

This commit is contained in:
kumavis 2017-07-07 01:37:45 -07:00 committed by GitHub
parent 9955668409
commit 8661989f51

View File

@ -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)