diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-05-16 09:05:11 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-05-16 09:05:11 +0800 |
commit | 4c10e2021aa0cdc4f34a22368a37c76e0e1fea22 (patch) | |
tree | c712c317f509b0d9ee6ae2ee43724b87db7b801e /app/scripts/lib/config-manager.js | |
parent | 117cf9c331468390867323000a233b510c47fee1 (diff) | |
download | tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.gz tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.bz2 tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.lz tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.xz tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.zst tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.zip |
Change default network to rinkeby
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r-- | app/scripts/lib/config-manager.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index ab9410842..4ca02135a 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -6,7 +6,7 @@ const TESTNET_RPC = MetamaskConfig.network.testnet const MAINNET_RPC = MetamaskConfig.network.mainnet const MORDEN_RPC = MetamaskConfig.network.morden const KOVAN_RPC = MetamaskConfig.network.kovan -const RINKEBY_RPC = MetamaskConfig.network.rinkeby +const ROPSTEN_RPC = MetamaskConfig.network.ropsten /* The config-manager is a convenience object @@ -147,8 +147,8 @@ ConfigManager.prototype.getCurrentRpcAddress = function () { case 'mainnet': return MAINNET_RPC - case 'testnet': - return TESTNET_RPC + case 'ropsten': + return ROPSTEN_RPC case 'morden': return MORDEN_RPC @@ -156,8 +156,8 @@ ConfigManager.prototype.getCurrentRpcAddress = function () { case 'kovan': return KOVAN_RPC - case 'rinkeby': - return RINKEBY_RPC + case 'testnet': + return TESTNET_RPC default: return provider && provider.rpcTarget ? provider.rpcTarget : TESTNET_RPC |