mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
p2p: update MaxPeers comment (#32414)
This commit is contained in:
parent
1c74f23761
commit
62ac0e05b6
1 changed files with 1 additions and 2 deletions
|
|
@ -35,8 +35,7 @@ type Config struct {
|
|||
// This field must be set to a valid secp256k1 private key.
|
||||
PrivateKey *ecdsa.PrivateKey `toml:"-"`
|
||||
|
||||
// MaxPeers is the maximum number of peers that can be
|
||||
// connected. It must be greater than zero.
|
||||
// MaxPeers is the maximum number of peers that can be connected.
|
||||
MaxPeers int
|
||||
|
||||
// MaxPendingPeers is the maximum number of peers that can be pending in the
|
||||
|
|
|
|||
Loading…
Reference in a new issue