aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-17 07:43:38 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-17 07:43:38 +0800
commit9c2ead3d528046e4a6eed5bc45e82c972000354d (patch)
tree6dc79808505ec60d304c0a34b665f55c58917c25
parent3e359d6a6a5561247b6bd0908bfddb740241b681 (diff)
downloadtangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar.gz
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar.bz2
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar.lz
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar.xz
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.tar.zst
tangerine-wallet-browser-9c2ead3d528046e4a6eed5bc45e82c972000354d.zip
put event back on the "blockTracker:/provider"
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index f6eb4e4d9..042d8e66d 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -27,7 +27,7 @@ module.exports = class TransactionController extends EventEmitter {
this.blockTracker.on('block', this.checkForTxInBlock.bind(this))
// provider-engine only exploses the 'block' event, not 'latest' for 'sync'
this.provider._blockTracker.on('sync', this.queryPendingTxs.bind(this))
- this.provider._blockTracker.on('latest', this.resubmitPendingTxs.bind(this))
+ this.blockTracker.on('latest', this.resubmitPendingTxs.bind(this))
this.signEthTx = opts.signTransaction
this.nonceLock = Semaphore(1)
this.ethStore = opts.ethStore