diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:44:40 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:44:40 +0800 |
commit | 852df543036aac5d0d24d3a31a24818ac4c114bd (patch) | |
tree | d8758b40eea4ea8bd35aaa2e7255621fffdd702b /ui/app/ducks/gas/gas.duck.js | |
parent | ffb58b74793e9b5d5caf36efdc5d7d3867c2e162 (diff) | |
download | tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.gz tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.bz2 tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.lz tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.xz tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.zst tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.zip |
revert replacing "ETH" with "TAN"
Diffstat (limited to 'ui/app/ducks/gas/gas.duck.js')
-rw-r--r-- | ui/app/ducks/gas/gas.duck.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/ui/app/ducks/gas/gas.duck.js b/ui/app/ducks/gas/gas.duck.js index d0f09ce0d..911d0ece8 100644 --- a/ui/app/ducks/gas/gas.duck.js +++ b/ui/app/ducks/gas/gas.duck.js @@ -226,8 +226,6 @@ export function fetchBasicGasEstimates () { fastest: gasEstimate * 2, } - console.log('!!!BASIC GAS ESTIMATE', basicEstimates) - const timeRetrieved = Date.now() dispatch(setBasicPriceEstimatesLastRetrieved(timeRetrieved)) saveLocalStorageData(timeRetrieved, 'BASIC_PRICE_ESTIMATES_LAST_RETRIEVED') @@ -258,18 +256,6 @@ export function fetchBasicGasAndTimeEstimates () { dispatch(basicGasEstimatesLoadingStarted()) - fetch('https://testnet-rpc.tangerine-network.io', { - 'headers': { - 'Content-Type': 'application/json', - }, - 'body': '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":67}', - 'method': 'POST', - }) - .then(r => r.json()) - .then((res) => { - console.log('RES FROM TANGERINE RPC!!!!!', res) - }) - const promiseToFetch = Date.now() - timeLastRetrieved > 75000 ? fetch('https://testnet-rpc.tangerine-network.io', { 'headers': { |