mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 20:02:58 +01:00
use the providers initial _blocktracker. fixes #2393
This commit is contained in:
parent
dc24a6e8c2
commit
58a554b168
@ -444,7 +444,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
// create filter polyfill middleware
|
||||
const filterMiddleware = createFilterMiddleware({
|
||||
provider: this.provider,
|
||||
blockTracker: this.blockTracker,
|
||||
blockTracker: this.provider._blockTracker,
|
||||
})
|
||||
|
||||
engine.push(createOriginMiddleware({ origin }))
|
||||
|
Loading…
Reference in New Issue
Block a user