|
|
@ -98,6 +98,9 @@ module.exports = class MetamaskController extends EventEmitter { |
|
|
|
this.ethStore.on('update', this.sendUpdate.bind(this)) |
|
|
|
this.ethStore.on('update', this.sendUpdate.bind(this)) |
|
|
|
this.keyringController.on('update', this.sendUpdate.bind(this)) |
|
|
|
this.keyringController.on('update', this.sendUpdate.bind(this)) |
|
|
|
this.txManager.on('update', this.sendUpdate.bind(this)) |
|
|
|
this.txManager.on('update', this.sendUpdate.bind(this)) |
|
|
|
|
|
|
|
this.keyringController.store.subscribe((state) => { |
|
|
|
|
|
|
|
this.store.updateState({ KeyringController: state }) |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|