1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Updating decimal precision to 9 (getRoundedGasPrice) (#11930)

This commit is contained in:
ryanml 2021-08-25 11:09:39 -07:00
parent 4e686d5590
commit 9d6fee3c07

View File

@ -384,7 +384,7 @@ export const computeEstimatedGasLimit = createAsyncThunk(
*/
function getRoundedGasPrice(gasPriceEstimate) {
const gasPriceInDecGwei = conversionUtil(gasPriceEstimate, {
numberOfDecimals: 4,
numberOfDecimals: 9,
toDenomination: GWEI,
fromNumericBase: 'dec',
toNumericBase: 'dec',