Skip to content

Commit

Permalink
apply @lidel's suggestions
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 committed Nov 20, 2021
1 parent 8cd41de commit 5a3963f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/node/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ func LibP2P(bcfg *BuildCfg, cfg *config.Config) fx.Option {
}
//nolint
if cfg.Swarm.EnableRelayHop {
logger.Error("The `Swarm.EnableRelayHop` config field is deprecated.\n" +
logger.Error("The `Swarm.EnableRelayHop` config field is ignored.\n" +
"Use `Swarm.RelayService` to configure the circuit v2 relay.\n" +
"If you want to continue running a circuit v1 relay, please use the standalone relay daemon: https://github.com/libp2p/go-libp2p-relay-daemon\n")
"If you want to continue running a circuit v1 relay, please use the standalone relay daemon: https://github.com/libp2p/go-libp2p-relay-daemon (with RelayV1.Enabled: true)\n")
os.Exit(1)
}

// Gather all the options
Expand Down

0 comments on commit 5a3963f

Please sign in to comment.