diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-09-27 05:15:16 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-09-27 05:15:16 +0800 |
commit | 2eca5455c0c80d99b10c7d56858f84e605494fba (patch) | |
tree | 0b000122339107497b3f1523f026eaa4762ebb1d /app/scripts/metamask-controller.js | |
parent | 3bedcd3582519c7afbb8164b40acca4b96eab4bf (diff) | |
download | tangerine-wallet-browser-2eca5455c0c80d99b10c7d56858f84e605494fba.tar.gz tangerine-wallet-browser-2eca5455c0c80d99b10c7d56858f84e605494fba.tar.zst tangerine-wallet-browser-2eca5455c0c80d99b10c7d56858f84e605494fba.zip |
Move obs store into account-tracker instead of inheriting
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index cca796678..a86d8d37b 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -194,7 +194,7 @@ module.exports = class MetamaskController extends EventEmitter { // manual mem state subscriptions this.networkController.store.subscribe(this.sendUpdate.bind(this)) - this.accountTracker.subscribe(this.sendUpdate.bind(this)) + this.accountTracker.store.subscribe(this.sendUpdate.bind(this)) this.txController.memStore.subscribe(this.sendUpdate.bind(this)) this.balancesController.store.subscribe(this.sendUpdate.bind(this)) this.messageManager.memStore.subscribe(this.sendUpdate.bind(this)) @@ -277,7 +277,7 @@ module.exports = class MetamaskController extends EventEmitter { isInitialized, }, this.networkController.store.getState(), - this.accountTracker.getState(), + this.accountTracker.store.getState(), this.txController.memStore.getState(), this.messageManager.memStore.getState(), this.personalMessageManager.memStore.getState(), |