p2p: update MaxPeers comment (#32414)

This commit is contained in:
Klimov Sergei 2025-08-19 20:14:11 +08:00 committed by GitHub
parent 1c74f23761
commit 62ac0e05b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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