diff --git a/nimbus/rpc/p2p.nim b/nimbus/rpc/p2p.nim index 34aaf709c..0ac5c95ed 100644 --- a/nimbus/rpc/p2p.nim +++ b/nimbus/rpc/p2p.nim @@ -278,7 +278,8 @@ proc setupEthRpc*(node: EthereumNode, chain: BaseChainDB, rpcsrv: RpcServer) = if call.gasPrice.isSome: call.gasPrice.get else: 0.GasInt - # Set defaults for gas limit and price if required + # Set defaults for gas limit if required + # Price remains zero by default if gaslimit == 0.GasInt: gasLimit = header.gasLimit