aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm
diff options
context:
space:
mode:
authorholisticode <holistic.computing@gmail.com>2017-04-13 17:06:19 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-04-13 17:06:19 +0800
commit409b61fe3c8046dc26f3442846e9f7032bebb9c5 (patch)
tree041d051d192165fdf1d56391ec63c67822492476 /cmd/swarm
parentd5d910e8b68f6c6b29ca85f5a9fa1b72b2cc08c1 (diff)
downloaddexon-409b61fe3c8046dc26f3442846e9f7032bebb9c5.tar.gz
dexon-409b61fe3c8046dc26f3442846e9f7032bebb9c5.tar.zst
dexon-409b61fe3c8046dc26f3442846e9f7032bebb9c5.zip
swarm/api: better name resolver handling (#3754)
Fixes #3608
Diffstat (limited to 'cmd/swarm')
-rw-r--r--cmd/swarm/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index 833083b91..26aa3e50f 100644
--- a/cmd/swarm/main.go
+++ b/cmd/swarm/main.go
@@ -358,6 +358,8 @@ func registerBzzService(ctx *cli.Context, stack *node.Node) {
if err != nil {
utils.Fatalf("Can't connect: %v", err)
}
+ } else {
+ swapEnabled = false
}
return swarm.NewSwarm(ctx, client, bzzconfig, swapEnabled, syncEnabled, cors)
}