diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-10-11 00:06:38 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-12-04 11:36:05 +0800 |
commit | cd32c58fb4bcd731d8a83d354c9b01a38c8df219 (patch) | |
tree | 7dc056bb06c71b2a691eccfbbcaf726bd60a98ed /ui/app/ducks/gas.duck.js | |
parent | a2bbf504b891a63f32070961118ec1ae6fa5fdd8 (diff) | |
download | tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.gz tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.bz2 tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.lz tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.xz tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.zst tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.zip |
Complete integration of gas chart with redux.
Diffstat (limited to 'ui/app/ducks/gas.duck.js')
-rw-r--r-- | ui/app/ducks/gas.duck.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/ducks/gas.duck.js b/ui/app/ducks/gas.duck.js index 35e26544a..2dcec91de 100644 --- a/ui/app/ducks/gas.duck.js +++ b/ui/app/ducks/gas.duck.js @@ -212,7 +212,7 @@ export function fetchGasEstimates (blockTime) { const estimatedPricesAndTimes = r.map(({ expectedTime, expectedWait, gasprice }) => ({ expectedTime, expectedWait, gasprice })) const estimatedTimeWithUniquePrices = uniqBy(({ expectedTime }) => expectedTime, estimatedPricesAndTimes) const timeMappedToSeconds = estimatedTimeWithUniquePrices.map(({ expectedWait, gasprice }) => { - const expectedTime = (new BigNumber(expectedWait)).times(Number(blockTime), 10).div(60, 10).toString(10) + const expectedTime = (new BigNumber(expectedWait)).times(Number(blockTime), 10).toString(10) return { expectedTime, expectedWait, |