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:
parent
fa02a6c7c6
commit
c2d4b237eb
@ -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…
Reference in New Issue
Block a user