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:
parent
5d300f146a
commit
9e3648c668
@ -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…
Reference in New Issue
Block a user