aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-08-22 05:27:34 +0800
committerGitHub <noreply@github.com>2018-08-22 05:27:34 +0800
commita485516488a5278df86ba805b4b26a8b2b4ac5a7 (patch)
treeaf6aef8bccc166f14cd5cf2164e57a26bd1bb45f /app
parent4704f3598e3a570b536b3d334d72fcc06d2d15c0 (diff)
parent13dfea7f2da56d46a4ef3af63cda8ecaae6b04da (diff)
downloadtangerine-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.js2
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