fix typo in options.go (#1274)

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>

Co-authored-by: Marten Seemann <martenseemann@gmail.com>
This commit is contained in:
Ettore Di Giacinto
2022-01-04 08:15:24 +01:00
committed by GitHub
parent 664ed46f3b
commit b4d2376986

View File

@@ -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