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

Fix mismatched decimal/hex conversion in pending-tx

This commit is contained in:
Kevin Serrano 2017-10-25 11:32:38 -07:00
parent c0e0522c30
commit cb7d07ebae
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1

View File

@ -57,7 +57,7 @@ PendingTx.prototype.render = function () {
const safeGasLimit = safeGasLimitBN.toString(10)
// 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 txFeeBn = gasBn.mul(gasPriceBn)