aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-29 01:53:51 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-29 01:53:51 +0800
commit9b43ec2278a5647c427c426ed798ab90bbf093cc (patch)
tree52223352efe509619e86e3a92aa4e5df3ff13eeb /app/scripts/lib/config-manager.js
parentdaaac17be20faf3f53f3a4b04d70504ebf894568 (diff)
downloadtangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar.gz
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar.bz2
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar.lz
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar.xz
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.tar.zst
tangerine-wallet-browser-9b43ec2278a5647c427c426ed798ab90bbf093cc.zip
Add eth classic to provider menu
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-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 d7df5343b..727cd46fc 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -4,6 +4,7 @@ const migrations = require('./migrations')
const TESTNET_RPC = MetamaskConfig.network.testnet
const MAINNET_RPC = MetamaskConfig.network.mainnet
+const CLASSIC_RPC = MetamaskConfig.network.classic
/* The config-manager is a convenience object
* wrapping a pojo-migrator.
@@ -144,6 +145,9 @@ ConfigManager.prototype.getCurrentRpcAddress = function () {
case 'testnet':
return TESTNET_RPC
+ case 'classic':
+ return CLASSIC_RPC
+
default:
return provider && provider.rpcTarget ? provider.rpcTarget : TESTNET_RPC
}