Pass blocktracker to balances controller

feature/default_network_editable
Dan Finlay 7 years ago
parent 5d300f146a
commit 9e3648c668
  1. 1
      app/scripts/metamask-controller.js

@ -136,6 +136,7 @@ module.exports = class MetamaskController extends EventEmitter {
this.balancesController = new BalancesController({
accountTracker: this.accountTracker,
txController: this.txController,
blockTracker: this.blockTracker,
})
this.networkController.on('networkDidChange', () => {
this.balancesController.updateAllBalances()

Loading…
Cancel
Save