Update global-variables.tsx

pull/5370/head
bunsenstraat 3 years ago committed by iamsethsamuel
parent b60451e1bf
commit 8735b554d4
  1. 2
      libs/remix-ui/debugger-ui/src/lib/vm-debugger/global-variables.tsx

@ -18,7 +18,7 @@ export const GlobalVariables = ({ block, receipt, tx }) => {
'tx.origin': tx.from
}
if (block.baseFeePerGas) {
globals['block.basefee'] = Web3.utils.toBN(block.baseFeePerGas).toString(10) + ` Wei (${block.baseFeePerGas})`
globals['block.basefee'] = (Web3.utils.toBN(block.baseFeePerGas)) + ` Wei (${block.baseFeePerGas})`
}
return (

Loading…
Cancel
Save