aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-09-27 05:15:16 +0800
committerDan Finlay <dan@danfinlay.com>2017-09-27 05:15:16 +0800
commit2eca5455c0c80d99b10c7d56858f84e605494fba (patch)
tree0b000122339107497b3f1523f026eaa4762ebb1d /app/scripts/metamask-controller.js
parent3bedcd3582519c7afbb8164b40acca4b96eab4bf (diff)
downloadtangerine-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.js4
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(),