1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

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

This commit is contained in:
frankiebee 2018-08-07 01:35:30 -07:00
parent fa02a6c7c6
commit c2d4b237eb

View File

@ -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 }
} }