1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00

Remove local nonce error setting.

This commit is contained in:
Dan Finlay 2017-07-11 11:59:56 -07:00
parent 2d1b7c0ee1
commit d97c6533b8
2 changed files with 2 additions and 8 deletions

View File

@ -2,6 +2,8 @@
## Current Master ## Current Master
- No longer validate nonce client-side in retry loop.
## 3.8.4 2017-7-7 ## 3.8.4 2017-7-7
- Improve transaction resubmit logic to fail more eagerly when a user would expect it to. - Improve transaction resubmit logic to fail more eagerly when a user would expect it to.

View File

@ -458,14 +458,6 @@ module.exports = class TransactionController extends EventEmitter {
return log.error(message) return log.error(message)
} }
// if the nonce of the transaction is lower then the accounts nonce, fail.
if (txNonce < nonce) {
const message = 'Invalid nonce.'
this.setTxStatusFailed(txMeta.id, { message })
cb()
return log.error(message)
}
// Only auto-submit already-signed txs: // Only auto-submit already-signed txs:
if (!('rawTx' in txMeta)) return cb() if (!('rawTx' in txMeta)) return cb()