diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-12 02:59:56 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-12 03:00:17 +0800 |
commit | d97c6533b87b0a9dd6937c1ca57ec05129ac619b (patch) | |
tree | 792033870ee8a88a1102fbd92dc41970881108f0 /app/scripts | |
parent | 2d1b7c0ee152c38ebb0f3a63bd9f2daef18ded36 (diff) | |
download | tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar.gz tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar.bz2 tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar.lz tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar.xz tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.tar.zst tangerine-wallet-browser-d97c6533b87b0a9dd6937c1ca57ec05129ac619b.zip |
Remove local nonce error setting.
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/controllers/transactions.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index 18bb245de..02487c385 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -458,14 +458,6 @@ module.exports = class TransactionController extends EventEmitter { 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: if (!('rawTx' in txMeta)) return cb() |