aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-15 09:39:19 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-15 09:41:05 +0800
commite826eb932c918202bcf30d32d57464a4b860073b (patch)
tree4456d6963b3b52928db2ef6931e29f614c74cd14 /app/scripts/lib/config-manager.js
parentf7a5a4e170538792f00aa8f05d46144734f361d2 (diff)
downloadtangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar.gz
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar.bz2
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar.lz
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar.xz
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.tar.zst
tangerine-wallet-browser-e826eb932c918202bcf30d32d57464a4b860073b.zip
Remove ethereum classic provider
Fixes #542
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r--app/scripts/lib/config-manager.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index 3d84edfd0..d14d3afc3 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -4,7 +4,6 @@ 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.
@@ -145,9 +144,6 @@ ConfigManager.prototype.getCurrentRpcAddress = function () {
case 'testnet':
return TESTNET_RPC
- case 'classic':
- return CLASSIC_RPC
-
default:
return provider && provider.rpcTarget ? provider.rpcTarget : TESTNET_RPC
}
@@ -279,7 +275,7 @@ ConfigManager.prototype.setShouldntShowWarning = function () {
if (data.isEthConfirmed) {
data.isEthConfirmed = !data.isEthConfirmed
} else {
- data.isEthConfirmed = true
+ data.isEthConfirmed = true
}
this.setData(data)
}