aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEvgeniy Filatov <efilatov@geeksforless.net>2018-08-20 02:02:30 +0800
committerEvgeniy Filatov <efilatov@geeksforless.net>2018-08-23 06:18:13 +0800
commitc0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919 (patch)
tree44c36a715d69a60ecc237fafb4f011a197278edc /ui
parentb23cca14699b6c6a8c843c9cc020ec96fe758822 (diff)
downloadtangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar.gz
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar.bz2
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar.lz
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar.xz
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.tar.zst
tangerine-wallet-browser-c0b5e8a088b7ed2ac557ad2b6bc6b55d9bae1919.zip
backported RPC improvements to oldui
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/dropdowns/network-dropdown.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/dropdowns/network-dropdown.js b/ui/app/components/dropdowns/network-dropdown.js
index 003ec1b98..b1aeed376 100644
--- a/ui/app/components/dropdowns/network-dropdown.js
+++ b/ui/app/components/dropdowns/network-dropdown.js
@@ -272,10 +272,9 @@ NetworkDropdown.prototype.getNetworkName = function () {
NetworkDropdown.prototype.renderCommonRpc = function (rpcList, provider) {
const props = this.props
- const rpcTarget = provider.rpcTarget
return rpcList.map((rpc) => {
- const currentRpcTarget = provider.type === 'rpc' && rpc === rpcTarget
+ const currentRpcTarget = provider.type === 'rpc' && rpc === provider.rpcTarget
if ((rpc === 'http://localhost:8545') || currentRpcTarget) {
return null