1
0
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:
Lazaridis 2018-02-11 05:09:27 +02:00
parent dc24a6e8c2
commit 58a554b168

View File

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