1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #3224 from lazaridiscom/master

use the providers initial _blocktracker (fixes #2393)
This commit is contained in:
Dan Finlay 2018-02-13 21:28:33 +01:00 committed by GitHub
commit c5773c4973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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