Browse Source

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>
pull/1271/head
Ettore Di Giacinto 3 years ago
committed by GitHub
parent
commit
b4d2376986
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      options.go

2
options.go

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

Loading…
Cancel
Save