1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00

metamask - subscribe metamask store to keyringController substate

This commit is contained in:
kumavis 2017-01-28 22:12:15 -08:00
parent 4dd6ba9c1b
commit 13e2003469

View File

@ -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 })
})
}
//