Make gasPrice accessible to the UI.

This commit is contained in:
Kevin Serrano 2017-02-24 15:06:55 -08:00
parent 30e4bdf24b
commit dfc89d6c6d
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
2 changed files with 2 additions and 2 deletions

View File

@ -157,6 +157,7 @@ module.exports = class TransactionManager extends EventEmitter {
txMeta.txFee = txFee
txMeta.txValue = txValue
txMeta.maxCost = maxCost
txMeta.gasPrice = gasPrice
this.updateTx(txMeta)
}

View File

@ -18,7 +18,7 @@ PendingTx.prototype.render = function () {
const txParams = txData.txParams
const gas = state.gas || txParams.gas
const gasPrice = state.gasPrice || txParams.gasPrice
const gasPrice = state.gasPrice || txData.gasPrice
return (
@ -96,4 +96,3 @@ PendingTx.prototype.render = function () {
])
)
}