use the providers initial _blocktracker. fixes #2393

feature/default_network_editable
Lazaridis 7 years ago
parent dc24a6e8c2
commit 58a554b168
  1. 2
      app/scripts/metamask-controller.js

@ -444,7 +444,7 @@ module.exports = class MetamaskController extends EventEmitter {
// create filter polyfill middleware // create filter polyfill middleware
const filterMiddleware = createFilterMiddleware({ const filterMiddleware = createFilterMiddleware({
provider: this.provider, provider: this.provider,
blockTracker: this.blockTracker, blockTracker: this.provider._blockTracker,
}) })
engine.push(createOriginMiddleware({ origin })) engine.push(createOriginMiddleware({ origin }))

Loading…
Cancel
Save