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

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

This commit is contained in:
ryanml 2021-08-25 11:09:39 -07:00 committed by GitHub
parent b021c35f7b
commit b20a77b255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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