diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-12-16 08:09:39 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-12-16 08:12:03 +0800 |
commit | 83880a5c92df6024e3420ecf19d55585f5d2b185 (patch) | |
tree | 10b34ed97990a1fe307ada0a2dfbb2c57df386ce /ui | |
parent | ff94cf6d10ec4427a758076e080df9c3e383497c (diff) | |
download | tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar.gz tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar.bz2 tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar.lz tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar.xz tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.tar.zst tangerine-wallet-browser-83880a5c92df6024e3420ecf19d55585f5d2b185.zip |
Remove morden testnet provider
Instances configured to point at Morden will now point at Ropsten.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/app.js | 9 | ||||
-rw-r--r-- | ui/app/components/drop-menu-item.js | 3 | ||||
-rw-r--r-- | ui/app/components/network.js | 12 | ||||
-rw-r--r-- | ui/app/config.js | 2 |
4 files changed, 1 insertions, 25 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 3a3b234cc..0646e3165 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -244,15 +244,6 @@ App.prototype.renderNetworkDropdown = function () { }), h(DropMenuItem, { - label: 'Morden Test Network', - closeMenu: () => this.setState({ isNetworkMenuOpen: false }), - action: () => props.dispatch(actions.setProviderType('morden')), - icon: h('.menu-icon.red-dot'), - activeNetworkRender: props.network, - provider: props.provider, - }), - - h(DropMenuItem, { label: 'Localhost 8545', closeMenu: () => this.setState({ isNetworkMenuOpen: false }), action: () => props.dispatch(actions.setRpcTarget('http://localhost:8545')), diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js index b82114f03..ac0aecadd 100644 --- a/ui/app/components/drop-menu-item.js +++ b/ui/app/components/drop-menu-item.js @@ -44,9 +44,6 @@ DropMenuItem.prototype.activeNetworkRender = function () { case 'Ropsten Test Network': if (provider.type === 'testnet') return h('.check', '✓') break - case 'Morden Test Network': - if (provider.type === 'morden') return h('.check', '✓') - break case 'Localhost 8545': if (activeNetwork === 'http://localhost:8545') return h('.check', '✓') break diff --git a/ui/app/components/network.js b/ui/app/components/network.js index b7d3cdbf5..1f61ef73f 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -42,9 +42,6 @@ Network.prototype.render = function () { } else if (parseInt(networkNumber) === 3) { hoverText = 'Ropsten Test Network' iconName = 'ropsten-test-network' - } else if (parseInt(networkNumber) === 2) { - hoverText = 'Morden Test Network' - iconName = 'morden-test-network' } else { hoverText = 'Unknown Private Network' iconName = 'unknown-private-network' @@ -79,15 +76,6 @@ Network.prototype.render = function () { }}, 'Ropsten Test Net'), ]) - case 'morden-test-network': - return h('.network-indicator', [ - h('.menu-icon.red-dot'), - h('.network-name', { - style: { - color: '#ff6666', - }}, - 'Morden Test Net'), - ]) default: return h('.network-indicator', [ h('i.fa.fa-question-circle.fa-lg', { diff --git a/ui/app/config.js b/ui/app/config.js index e09a38cd8..8824c6bec 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -133,7 +133,7 @@ function currentProviderDisplay (metamaskState) { case 'testnet': title = 'Current Network' - value = 'Morden Test Network' + value = 'Ropsten Test Network' break default: |