diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-07-06 03:07:34 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-07-06 03:07:34 +0800 |
commit | 51ff6d74e884b599f78b5454b33f2bc1a046f0b2 (patch) | |
tree | f2924c5b4324a4e9fd6641c3c46ba9c16f423fac /app | |
parent | 6d2cddaac9348b0e9c8a6cc4a6621927765e7c17 (diff) | |
download | tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar.gz tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar.bz2 tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar.lz tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar.xz tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.tar.zst tangerine-wallet-browser-51ff6d74e884b599f78b5454b33f2bc1a046f0b2.zip |
clean up unused code from old noncelock
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/transactions.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index c74427cd5..2b40f9456 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -1,7 +1,6 @@ const EventEmitter = require('events') const async = require('async') const extend = require('xtend') -const Semaphore = require('semaphore') const ObservableStore = require('obs-store') const ethUtil = require('ethereumjs-util') const denodeify = require('denodeify') @@ -41,7 +40,6 @@ module.exports = class TransactionController extends EventEmitter { this.blockTracker.on('latest', this.resubmitPendingTxs.bind(this)) this.blockTracker.on('sync', this.queryPendingTxs.bind(this)) this.signEthTx = opts.signTransaction - this.nonceLock = Semaphore(1) this.ethStore = opts.ethStore // memstore is computed from a few different stores this._updateMemstore() |