network - fix blockTracker reference to return the blockTrackerProxy instead of the direct blockTracker reference

feature/default_network_editable
frankiebee 6 years ago
parent fa02a6c7c6
commit c2d4b237eb
  1. 2
      app/scripts/controllers/network/network.js

@ -59,7 +59,7 @@ module.exports = class NetworkController extends EventEmitter {
// return the proxies so the references will always be good // return the proxies so the references will always be good
getProviderAndBlockTracker () { getProviderAndBlockTracker () {
const provider = this._providerProxy const provider = this._providerProxy
const blockTracker = this._blockTracker const blockTracker = this._blockTrackerProxy
return { provider, blockTracker } return { provider, blockTracker }
} }

Loading…
Cancel
Save