aboutsummaryrefslogtreecommitdiffstats
path: root/app
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
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')
-rw-r--r--app/scripts/config.js2
-rw-r--r--app/scripts/lib/config-manager.js6
2 files changed, 1 insertions, 7 deletions
diff --git a/app/scripts/config.js b/app/scripts/config.js
index 7a1d54a3b..04e2907d4 100644
--- a/app/scripts/config.js
+++ b/app/scripts/config.js
@@ -1,7 +1,6 @@
const MAINET_RPC_URL = 'https://mainnet.infura.io/'
const TESTNET_RPC_URL = 'https://morden.infura.io/'
const DEFAULT_RPC_URL = TESTNET_RPC_URL
-const CLASSIC_RPC_URL = 'https://mainnet-nf.infura.io/'
global.METAMASK_DEBUG = false
@@ -10,6 +9,5 @@ module.exports = {
default: DEFAULT_RPC_URL,
mainnet: MAINET_RPC_URL,
testnet: TESTNET_RPC_URL,
- classic: CLASSIC_RPC_URL,
},
}
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)
}