Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
set Swarm.EnableAutoRelay to omitempty
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin Rataj <lidel@lidel.org>
  • Loading branch information
marten-seemann and lidel authored Nov 15, 2021
1 parent a26f871 commit 3e9e247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type SwarmConfig struct {
//
// Deprecated: This flag is deprecated and is overriden by
// `Swarm.AutoRelay.Enabled` if specified.
EnableAutoRelay bool
EnableAutoRelay bool `json:",omitempty"`

// AutoRelay controls the "auto relay service" feature.
// When enabled, the node will use relays if it is not publicly reachable.
Expand Down

0 comments on commit 3e9e247

Please sign in to comment.