diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-07-22 02:30:57 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-07-22 02:30:57 +0800 |
commit | 7b85802a0fede74217dd702ddda9bea1154517eb (patch) | |
tree | 055d903420fb1e04bc01d8bc542b389581ca4b41 /app/scripts/metamask-controller.js | |
parent | 4a9d5b1c258912acedd6f1e89fb632526d9c910b (diff) | |
parent | 6658bea8d444281491718f8eee7bc3ae42f91b69 (diff) | |
download | tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.gz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.bz2 tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.lz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.xz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.zst tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.zip |
Merge branch 'master' into usd-conversion
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 1b3b69932..7bf8fd5ea 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -6,6 +6,7 @@ const messageManager = require('./lib/message-manager') const HostStore = require('./lib/remote-store.js').HostStore const Web3 = require('web3') const ConfigManager = require('./lib/config-manager') +const extension = require('./lib/extension') module.exports = class MetamaskController { @@ -254,19 +255,19 @@ module.exports = class MetamaskController { // called from popup setRpcTarget (rpcTarget) { this.configManager.setRpcTarget(rpcTarget) - chrome.runtime.reload() + extension.runtime.reload() this.idStore.getNetwork() } setProviderType (type) { this.configManager.setProviderType(type) - chrome.runtime.reload() + extension.runtime.reload() this.idStore.getNetwork() } useEtherscanProvider () { this.configManager.useEtherscanProvider() - chrome.runtime.reload() + extension.runtime.reload() } } |