aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-29 14:12:15 +0800
committerkumavis <aaron@kumavis.me>2017-01-29 14:12:15 +0800
commit13e20034698ae0477240e88eab9a3483e5daccd6 (patch)
treee4e07f9508905ff15425bc3664c60f5bb9410b3a /app
parent4dd6ba9c1b6704dafcf9d10e1db02a3bb3071cb6 (diff)
downloadtangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar.gz
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar.bz2
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar.lz
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar.xz
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.tar.zst
tangerine-wallet-browser-13e20034698ae0477240e88eab9a3483e5daccd6.zip
metamask - subscribe metamask store to keyringController substate
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index f3da6f53e..cf58d2477 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -98,6 +98,9 @@ module.exports = class MetamaskController extends EventEmitter {
this.ethStore.on('update', this.sendUpdate.bind(this))
this.keyringController.on('update', this.sendUpdate.bind(this))
this.txManager.on('update', this.sendUpdate.bind(this))
+ this.keyringController.store.subscribe((state) => {
+ this.store.updateState({ KeyringController: state })
+ })
}
//