cmd/swarm: fix NoDiscovery setting

This commit is contained in:
Anton Evangelatov 2019-01-21 15:06:36 +01:00
parent 3029a8289c
commit ca93204d40

View file

@ -275,7 +275,7 @@ func bzzd(ctx *cli.Context) error {
utils.SetNodeConfig(ctx, &cfg) utils.SetNodeConfig(ctx, &cfg)
//always disable discovery from p2p package - swarm discovery is done with the `hive` protocol //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) stack, err := node.New(&cfg)
if err != nil { if err != nil {