Skip to content

Commit

Permalink
use the providers initial _blocktracker. fixes #2393
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaridiscom committed Feb 11, 2018
1 parent dc24a6e commit 58a554b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }))
Expand Down

0 comments on commit 58a554b

Please sign in to comment.