mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Update MaxPeers comment
This commit is contained in:
parent
56edd21453
commit
e0902952ec
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