mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Add gasPrice to be used on non-1559 networks for transaction details on confirm screen (#11741)
This commit is contained in:
parent
fba662ca2b
commit
a4927a30ac
@ -385,7 +385,9 @@ export default class ConfirmTransactionBase extends Component {
|
||||
key="gas-subtext"
|
||||
type={SECONDARY}
|
||||
value={getHexGasTotal({
|
||||
gasPrice: txData.txParams.maxFeePerGas,
|
||||
gasPrice:
|
||||
txData.txParams.maxFeePerGas ??
|
||||
txData.txParams.gasPrice,
|
||||
gasLimit: txData.txParams.gas,
|
||||
})}
|
||||
hideLabel
|
||||
@ -430,7 +432,9 @@ export default class ConfirmTransactionBase extends Component {
|
||||
value={addHexes(
|
||||
txData.txParams.value,
|
||||
getHexGasTotal({
|
||||
gasPrice: txData.txParams.maxFeePerGas,
|
||||
gasPrice:
|
||||
txData.txParams.maxFeePerGas ??
|
||||
txData.txParams.gasPrice,
|
||||
gasLimit: txData.txParams.gas,
|
||||
}),
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user