diff options
author | holisticode <holistic.computing@gmail.com> | 2017-04-13 17:06:19 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-13 17:06:19 +0800 |
commit | 409b61fe3c8046dc26f3442846e9f7032bebb9c5 (patch) | |
tree | 041d051d192165fdf1d56391ec63c67822492476 /cmd/swarm | |
parent | d5d910e8b68f6c6b29ca85f5a9fa1b72b2cc08c1 (diff) | |
download | go-tangerine-409b61fe3c8046dc26f3442846e9f7032bebb9c5.tar.gz go-tangerine-409b61fe3c8046dc26f3442846e9f7032bebb9c5.tar.zst go-tangerine-409b61fe3c8046dc26f3442846e9f7032bebb9c5.zip |
swarm/api: better name resolver handling (#3754)
Fixes #3608
Diffstat (limited to 'cmd/swarm')
-rw-r--r-- | cmd/swarm/main.go | 2 |
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) } |