mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
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:

committed by
GitHub

parent
664ed46f3b
commit
b4d2376986
@@ -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
|
||||
|
Reference in New Issue
Block a user