mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Updating decimal precision to 9 (getRoundedGasPrice) (#11930)
This commit is contained in:
parent
b021c35f7b
commit
b20a77b255
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user