Update UI state on ethStore updates

UI was remarkably not relying on ethStore for updates, so things like account balances were frozen until user activity.

Fixes #963
feature/default_network_editable
Dan Finlay 8 years ago
parent b93cdd428b
commit 1b9906372b
  1. 2
      app/scripts/metamask-controller.js

@ -60,6 +60,8 @@ module.exports = class MetamaskController {
this.idStoreMigrator = new IdStoreMigrator({
configManager: this.configManager,
})
this.ethStore.on('update', this.sendUpdate.bind(this))
}
getState () {

Loading…
Cancel
Save