mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
cmd/swarm: fix NoDiscovery setting
This commit is contained in:
parent
3029a8289c
commit
ca93204d40
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ func bzzd(ctx *cli.Context) error {
|
|||
utils.SetNodeConfig(ctx, &cfg)
|
||||
|
||||
//always disable discovery from p2p package - swarm discovery is done with the `hive` protocol
|
||||
cfg.NoDiscovery = true
|
||||
cfg.P2P.NoDiscovery = true
|
||||
|
||||
stack, err := node.New(&cfg)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue