Skip to content

Commit 62ac0e0

Browse files
authored
p2p: update MaxPeers comment (#32414)
1 parent 1c74f23 commit 62ac0e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

p2p/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ type Config struct {
3535
// This field must be set to a valid secp256k1 private key.
3636
PrivateKey *ecdsa.PrivateKey `toml:"-"`
3737

38-
// MaxPeers is the maximum number of peers that can be
39-
// connected. It must be greater than zero.
38+
// MaxPeers is the maximum number of peers that can be connected.
4039
MaxPeers int
4140

4241
// MaxPendingPeers is the maximum number of peers that can be pending in the

0 commit comments

Comments
 (0)