diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 16:41:01 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 16:41:01 +0800 |
commit | dd139452d053496d79816c881dbb59ee4aded81b (patch) | |
tree | 40c1d0b6ac7a0c794285abc64286503059a64485 /ui/app/store/actions.js | |
parent | 852df543036aac5d0d24d3a31a24818ac4c114bd (diff) | |
download | tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.gz tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.bz2 tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.lz tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.xz tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.tar.zst tangerine-wallet-browser-dd139452d053496d79816c881dbb59ee4aded81b.zip |
part of replacing 'ETH'
Diffstat (limited to 'ui/app/store/actions.js')
-rw-r--r-- | ui/app/store/actions.js | 6 |
1 files changed, 3 insertions, 3 deletions
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) => { |