aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/ducks
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-10-11 00:06:38 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:05 +0800
commitcd32c58fb4bcd731d8a83d354c9b01a38c8df219 (patch)
tree7dc056bb06c71b2a691eccfbbcaf726bd60a98ed /ui/app/ducks
parenta2bbf504b891a63f32070961118ec1ae6fa5fdd8 (diff)
downloadtangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.gz
tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.tar.zst
tangerine-wallet-browser-cd32c58fb4bcd731d8a83d354c9b01a38c8df219.zip
Complete integration of gas chart with redux.
Diffstat (limited to 'ui/app/ducks')
-rw-r--r--ui/app/ducks/gas.duck.js2
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,