1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Pass blocktracker to balances controller

This commit is contained in:
Dan Finlay 2017-09-26 11:33:36 -07:00
parent 5d300f146a
commit 9e3648c668

View File

@ -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()