mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
This commit is contained in:
parent
69d8d042e6
commit
07c6262d42
1 changed files with 1 additions and 1 deletions
|
|
@ -1280,7 +1280,7 @@ func SetP2PConfig(ctx *cli.Context, cfg *p2p.Config) {
|
|||
cfg.MaxPendingPeers = ctx.Int(MaxPendingPeersFlag.Name)
|
||||
}
|
||||
if ctx.IsSet(NoDiscoverFlag.Name) {
|
||||
cfg.NoDiscovery = true
|
||||
cfg.NoDiscovery = ctx.Bool(NoDiscoverFlag.Name)
|
||||
}
|
||||
|
||||
flags.CheckExclusive(ctx, DiscoveryV5Flag, NoDiscoverFlag)
|
||||
|
|
|
|||
Loading…
Reference in a new issue