diff options
Diffstat (limited to 'cmd/swarm/main.go')
-rw-r--r-- | cmd/swarm/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go index 4d63255d7..06d5b0bb2 100644 --- a/cmd/swarm/main.go +++ b/cmd/swarm/main.go @@ -287,8 +287,8 @@ func bzzd(ctx *cli.Context) error { //setup the ethereum node utils.SetNodeConfig(ctx, &cfg) - //always disable discovery from p2p package - swarm discovery is done with the `hive` protocol - cfg.P2P.NoDiscovery = true + //disable dynamic dialing from p2p/discovery + cfg.P2P.NoDial = true stack, err := node.New(&cfg) if err != nil { |