diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-03 14:12:31 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-03 14:12:31 +0800 |
commit | 9063fba5314a18e057125efcaaac2441e7d13a74 (patch) | |
tree | d8758b40eea4ea8bd35aaa2e7255621fffdd702b /ui/app/store | |
parent | dd139452d053496d79816c881dbb59ee4aded81b (diff) | |
download | tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar.gz tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar.bz2 tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar.lz tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar.xz tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.tar.zst tangerine-wallet-browser-9063fba5314a18e057125efcaaac2441e7d13a74.zip |
Revert "part of replacing 'ETH'"
This reverts commit dd139452d053496d79816c881dbb59ee4aded81b.
Diffstat (limited to 'ui/app/store')
-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 5f22efce0..d3cc7efca 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 = 'TAN', nickname, rpcPrefs) { +function updateAndSetCustomRpc (newRpc, chainId, ticker = 'ETH', 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 = 'TAN', nickname, rpcPr } } -function editRpc (oldRpc, newRpc, chainId, ticker = 'TAN', nickname, rpcPrefs) { +function editRpc (oldRpc, newRpc, chainId, ticker = 'ETH', nickname, rpcPrefs) { return (dispatch) => { log.debug(`background.delRpcTarget: ${oldRpc}`) background.delCustomRpc(oldRpc, (err) => { @@ -2021,7 +2021,7 @@ function editRpc (oldRpc, newRpc, chainId, ticker = 'TAN', nickname, rpcPrefs) { } } -function setRpcTarget (newRpc, chainId, ticker = 'TAN', nickname) { +function setRpcTarget (newRpc, chainId, ticker = 'ETH', nickname) { return (dispatch) => { log.debug(`background.setRpcTarget: ${newRpc} ${chainId} ${ticker} ${nickname}`) background.setCustomRpc(newRpc, chainId, ticker, nickname || newRpc, (err) => { |