From dd139452d053496d79816c881dbb59ee4aded81b Mon Sep 17 00:00:00 2001 From: Chen Wei Date: Tue, 2 Jul 2019 16:41:01 +0800 Subject: part of replacing 'ETH' --- ui/app/store/actions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/app/store/actions.js') diff --git a/ui/app/store/actions.js b/ui/app/store/actions.js index d3cc7efca..5f22efce0 100644 --- a/ui/app/store/actions.js +++ b/ui/app/store/actions.js @@ -1982,7 +1982,7 @@ function setPreviousProvider (type) { } } -function updateAndSetCustomRpc (newRpc, chainId, ticker = 'ETH', nickname, rpcPrefs) { +function updateAndSetCustomRpc (newRpc, chainId, ticker = 'TAN', nickname, rpcPrefs) { return (dispatch) => { log.debug(`background.updateAndSetCustomRpc: ${newRpc} ${chainId} ${ticker} ${nickname}`) background.updateAndSetCustomRpc(newRpc, chainId, ticker, nickname || newRpc, rpcPrefs, (err) => { @@ -1998,7 +1998,7 @@ function updateAndSetCustomRpc (newRpc, chainId, ticker = 'ETH', nickname, rpcPr } } -function editRpc (oldRpc, newRpc, chainId, ticker = 'ETH', nickname, rpcPrefs) { +function editRpc (oldRpc, newRpc, chainId, ticker = 'TAN', nickname, rpcPrefs) { return (dispatch) => { log.debug(`background.delRpcTarget: ${oldRpc}`) background.delCustomRpc(oldRpc, (err) => { @@ -2021,7 +2021,7 @@ function editRpc (oldRpc, newRpc, chainId, ticker = 'ETH', nickname, rpcPrefs) { } } -function setRpcTarget (newRpc, chainId, ticker = 'ETH', nickname) { +function setRpcTarget (newRpc, chainId, ticker = 'TAN', nickname) { return (dispatch) => { log.debug(`background.setRpcTarget: ${newRpc} ${chainId} ${ticker} ${nickname}`) background.setCustomRpc(newRpc, chainId, ticker, nickname || newRpc, (err) => { -- cgit v1.2.3