Increase minPeers in PeerPool to PeerPool default (10)

This commit is contained in:
Yuriy Glukhov 2019-03-28 13:56:44 +02:00 committed by zah
parent f9e0418b5b
commit 497f88c20d
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ when useRLPx:
# TODO there are more networking options to add here: local bind ip, ipv6
# etc.
return newEthereumNode(keys, address, 0,
nil, clientId, minPeers = 1)
nil, clientId)
proc saveConnectionAddressFile*(node: Eth2Node, filename: string) =
writeFile(filename, $node.listeningAddress)