mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix mismatched decimal/hex conversion in pending-tx
This commit is contained in:
parent
c0e0522c30
commit
cb7d07ebae
@ -57,7 +57,7 @@ PendingTx.prototype.render = function () {
|
|||||||
const safeGasLimit = safeGasLimitBN.toString(10)
|
const safeGasLimit = safeGasLimitBN.toString(10)
|
||||||
|
|
||||||
// Gas Price
|
// Gas Price
|
||||||
const gasPrice = txParams.gasPrice || MIN_GAS_PRICE_BN.toString(10)
|
const gasPrice = txParams.gasPrice || MIN_GAS_PRICE_BN.toString(16)
|
||||||
const gasPriceBn = hexToBn(gasPrice)
|
const gasPriceBn = hexToBn(gasPrice)
|
||||||
|
|
||||||
const txFeeBn = gasBn.mul(gasPriceBn)
|
const txFeeBn = gasBn.mul(gasPriceBn)
|
||||||
|
Loading…
Reference in New Issue
Block a user