From 5a3963ff4665f1af44acc8fd7ae26abdab77c214 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sat, 20 Nov 2021 09:38:54 +0400 Subject: [PATCH] apply @lidel's suggestions Co-authored-by: Marcin Rataj --- core/node/groups.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/node/groups.go b/core/node/groups.go index 1da88e86d7d0..ebcff6e151d2 100644 --- a/core/node/groups.go +++ b/core/node/groups.go @@ -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