diff --git a/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js b/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js index 96cf67903..35a855e47 100644 --- a/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js +++ b/ui/pages/confirm-transaction-base/confirm-transaction-base.component.js @@ -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, }), )}