swarm: enable p2p/discovery and disable dynamic dialling (#19189)
This commit is contained in:
committed by
GitHub
parent
94eca08ad8
commit
4e9230ea7a
@ -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 {
|
||||
|
Reference in New Issue
Block a user