diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-05-23 14:12:28 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-05-24 07:49:57 +0800 |
commit | 243eeff7cb0d4c5d613a9250d234f81fdccbbf15 (patch) | |
tree | 406aa8da0a12fa542cf85c2838cbf94cc324ddaf /app/scripts/controllers/transactions.js | |
parent | 529304c005318852b60bb93846a58d6eb3da2066 (diff) | |
download | tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar.gz tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar.bz2 tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar.lz tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar.xz tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.tar.zst tangerine-wallet-browser-243eeff7cb0d4c5d613a9250d234f81fdccbbf15.zip |
Fix for tests
Diffstat (limited to 'app/scripts/controllers/transactions.js')
-rw-r--r-- | app/scripts/controllers/transactions.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index b9bea2f1c..2ebeed3ab 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -21,9 +21,7 @@ module.exports = class TransactionManager extends EventEmitter { this.blockTracker = opts.blockTracker this.query = opts.ethQuery this.txProviderUtils = new TxProviderUtil(this.query) - this.networkStore.subscribe((_) => this.blockTracker.on('block', this.checkForTxInBlock.bind(this))) this.blockTracker.on('block', this.checkForTxInBlock.bind(this)) - this.signEthTx = opts.signTransaction this.nonceLock = Semaphore(1) @@ -39,7 +37,7 @@ module.exports = class TransactionManager extends EventEmitter { } getNetwork () { - return this.networkStore.getState().network + return this.networkStore.getState() } getSelectedAddress () { |