diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:00:50 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:00:50 +0800 |
commit | 33dd7954a72797d23a0d8ed652a626addb1af55d (patch) | |
tree | 5eb61715b15f46eacf0fcee600055c0c51a2beb1 | |
parent | c5f96be98d7fe36a369c48b775d0b1fe857844c6 (diff) | |
download | tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar.gz tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar.bz2 tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar.lz tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar.xz tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.tar.zst tangerine-wallet-browser-33dd7954a72797d23a0d8ed652a626addb1af55d.zip |
Add kovan config settings to config manager.
-rw-r--r-- | app/scripts/lib/config-manager.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index 6868637e5..e31cb45ed 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -5,6 +5,7 @@ const normalize = require('eth-sig-util').normalize const TESTNET_RPC = MetamaskConfig.network.testnet const MAINNET_RPC = MetamaskConfig.network.mainnet const MORDEN_RPC = MetamaskConfig.network.morden +const KOVAN_RPC = MetamaskConfig.network.kovan /* The config-manager is a convenience object * wrapping a pojo-migrator. @@ -150,6 +151,9 @@ ConfigManager.prototype.getCurrentRpcAddress = function () { case 'morden': return MORDEN_RPC + case 'kovan': + return KOVAN_RPC + default: return provider && provider.rpcTarget ? provider.rpcTarget : TESTNET_RPC } |