diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-01-31 06:01:28 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-01-31 06:07:32 +0800 |
commit | f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66 (patch) | |
tree | 91a43508bab8d483dce3223b1bc10d500380c64d /app/scripts/metamask-controller.js | |
parent | 5f2d8eb5d2923b5b5658a49aafe5f36ccdf408c8 (diff) | |
download | tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar.gz tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar.bz2 tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar.lz tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar.xz tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.tar.zst tangerine-wallet-browser-f13ad6bd6a3b57851e20b6abe2715ef3dacc1e66.zip |
remove BlacklistController from disk state
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 672ec7403..adc681f6f 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -86,9 +86,7 @@ module.exports = class MetamaskController extends EventEmitter { }) this.infuraController.scheduleInfuraNetworkCheck() - this.blacklistController = new BlacklistController({ - initState: initState.BlacklistController, - }) + this.blacklistController = new BlacklistController() this.blacklistController.scheduleUpdates() // rpc provider @@ -200,9 +198,6 @@ module.exports = class MetamaskController extends EventEmitter { this.networkController.store.subscribe((state) => { this.store.updateState({ NetworkController: state }) }) - this.blacklistController.store.subscribe((state) => { - this.store.updateState({ BlacklistController: state }) - }) this.recentBlocksController.store.subscribe((state) => { this.store.updateState({ RecentBlocks: state }) }) |