Skip to content

Commit

Permalink
Fix typo in options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
  • Loading branch information
mudler and marten-seemann committed Dec 22, 2021
1 parent 5155c77 commit 2e1ef66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func DisableRelay() Option {
}

// EnableRelayService configures libp2p to run a circuit v2 relay,
// if we dected that we're publicly reachable.
// if we detect that we're publicly reachable.
func EnableRelayService(opts ...relayv2.Option) Option {
return func(cfg *Config) error {
cfg.EnableRelayService = true
Expand Down

0 comments on commit 2e1ef66

Please sign in to comment.