aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-23 04:00:50 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-23 04:00:50 +0800
commit33dd7954a72797d23a0d8ed652a626addb1af55d (patch)
tree5eb61715b15f46eacf0fcee600055c0c51a2beb1 /app/scripts/lib
parentc5f96be98d7fe36a369c48b775d0b1fe857844c6 (diff)
downloadtangerine-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.
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/config-manager.js4
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
}