diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-08-22 05:27:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 05:27:34 +0800 |
commit | a485516488a5278df86ba805b4b26a8b2b4ac5a7 (patch) | |
tree | af6aef8bccc166f14cd5cf2164e57a26bd1bb45f /app | |
parent | 4704f3598e3a570b536b3d334d72fcc06d2d15c0 (diff) | |
parent | 13dfea7f2da56d46a4ef3af63cda8ecaae6b04da (diff) | |
download | tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar.gz tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar.bz2 tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar.lz tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar.xz tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.tar.zst tangerine-wallet-browser-a485516488a5278df86ba805b4b26a8b2b4ac5a7.zip |
Merge pull request #5118 from MetaMask/provider2-bugfix
bugfix - prevents old blocktracker from getting internal hooks migrated
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/network/network.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/network/network.js b/app/scripts/controllers/network/network.js index 76fdc3391..c1667d9a6 100644 --- a/app/scripts/controllers/network/network.js +++ b/app/scripts/controllers/network/network.js @@ -185,7 +185,7 @@ module.exports = class NetworkController extends EventEmitter { if (this._blockTrackerProxy) { this._blockTrackerProxy.setTarget(blockTracker) } else { - this._blockTrackerProxy = createEventEmitterProxy(blockTracker) + this._blockTrackerProxy = createEventEmitterProxy(blockTracker, { eventFilter: 'skipInternal' }) } // set new provider and blockTracker this._provider = provider |