Update comment
This commit is contained in:
parent
3557567a1b
commit
5681c355ef
|
@ -278,7 +278,8 @@ proc setupEthRpc*(node: EthereumNode, chain: BaseChainDB, rpcsrv: RpcServer) =
|
||||||
if call.gasPrice.isSome: call.gasPrice.get
|
if call.gasPrice.isSome: call.gasPrice.get
|
||||||
else: 0.GasInt
|
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:
|
if gaslimit == 0.GasInt:
|
||||||
gasLimit = header.gasLimit
|
gasLimit = header.gasLimit
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue