From 5681c355ef60790b311b68d4c2a4f4ee7795c711 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Mon, 26 Nov 2018 19:40:29 +0000 Subject: [PATCH] Update comment --- nimbus/rpc/p2p.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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