diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-08-15 09:48:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 09:48:17 +0800 |
commit | 9b1a3fd7f36adfacd46de78f4f60e26eca6edd16 (patch) | |
tree | 4456d6963b3b52928db2ef6931e29f614c74cd14 /app/scripts/lib | |
parent | f7a5a4e170538792f00aa8f05d46144734f361d2 (diff) | |
parent | e826eb932c918202bcf30d32d57464a4b860073b (diff) | |
download | tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar.gz tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar.bz2 tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar.lz tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar.xz tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.tar.zst tangerine-wallet-browser-9b1a3fd7f36adfacd46de78f4f60e26eca6edd16.zip |
Merge pull request #544 from MetaMask/RemoveEtc
Remove ethereum classic provider
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/config-manager.js | 6 |
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) } |