diff --git a/apps/remix-ide/src/app/ui/confirmDialog.js b/apps/remix-ide/src/app/ui/confirmDialog.js index 820243e0d7..670470597f 100644 --- a/apps/remix-ide/src/app/ui/confirmDialog.js +++ b/apps/remix-ide/src/app/ui/confirmDialog.js @@ -112,7 +112,7 @@ function confirmDialog (tx, network, amount, gasEstimation, newGasPriceCb, initi el.querySelector('#gasprice').value = gasPriceValue onGasPriceChange() } - if (el.querySelector('#maxfee') && network && network.lastBlock && network.lastBlock.baseFeePerGas && el.querySelector('#maxfee')) { + if (el.querySelector('#maxfee') && network && network.lastBlock && network.lastBlock.baseFeePerGas) { el.querySelector('#maxfee').value = parseInt(network.lastBlock.baseFeePerGas, 16) onMaxFeeChange() }