Make gasPrice accessible to the UI.
This commit is contained in:
parent
30e4bdf24b
commit
dfc89d6c6d
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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 () {
|
|||
])
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue