From cd32c58fb4bcd731d8a83d354c9b01a38c8df219 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Wed, 10 Oct 2018 13:36:38 -0230 Subject: Complete integration of gas chart with redux. --- ui/app/ducks/gas.duck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/ducks/gas.duck.js') 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, -- cgit v1.2.3