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/ducks | |
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/ducks')
-rw-r--r-- | ui/app/ducks/gas/gas.duck.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ui/app/ducks/gas/gas.duck.js b/ui/app/ducks/gas/gas.duck.js index 911d0ece8..7a2a35a10 100644 --- a/ui/app/ducks/gas/gas.duck.js +++ b/ui/app/ducks/gas/gas.duck.js @@ -177,24 +177,6 @@ export function gasEstimatesLoadingFinished () { } } -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(({ result }) => { - console.log(result) - try { - const gasEstimate = parseInt(hexToNumberString(result).slice(0, -9)) - console.log('RES FROM TANGERINE RPC!!!!!', result, gasEstimate) - } catch (e) { - console.log('error', result, e) - } -}) - export function fetchBasicGasEstimates () { return (dispatch, getState) => { const { @@ -278,8 +260,6 @@ export function fetchBasicGasAndTimeEstimates () { fastest: gasEstimate * 2, } - console.log('!!!BASIC ESTIMATE GAS AND TIME: ', basicEstimates) - const timeRetrieved = Date.now() dispatch(setBasicApiEstimatesLastRetrieved(timeRetrieved)) saveLocalStorageData(timeRetrieved, 'BASIC_GAS_AND_TIME_API_ESTIMATES_LAST_RETRIEVED') |