Forward maxPeers config to EthereumNode minPeers
This commit is contained in:
parent
19e7d70099
commit
46a9d8e79d
|
@ -94,7 +94,8 @@ proc start(): NimbusObject =
|
|||
|
||||
nimbus.ethNode = newEthereumNode(keypair, address, conf.net.networkId,
|
||||
nil, nimbusClientId,
|
||||
addAllCapabilities = false)
|
||||
addAllCapabilities = false,
|
||||
minPeers = conf.net.maxPeers)
|
||||
# Add protocol capabilities based on protocol flags
|
||||
if ProtocolFlags.Eth in conf.net.protocols:
|
||||
nimbus.ethNode.addCapability eth
|
||||
|
|
Loading…
Reference in New Issue