Update comment

This commit is contained in:
coffeepots 2018-11-26 19:40:29 +00:00
parent 3557567a1b
commit 5681c355ef
1 changed files with 2 additions and 1 deletions

View File

@ -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