diff --git a/core/node/libp2p/relay.go b/core/node/libp2p/relay.go index b3d93e19e0d8..5bb8b946e510 100644 --- a/core/node/libp2p/relay.go +++ b/core/node/libp2p/relay.go @@ -75,6 +75,8 @@ func HolePunching(flag config.Flag, hasRelayClient bool) func() (opts Libp2pOpts // otherwise just silently disable hole punching if flag != config.Default { log.Fatal("Failed to enable `Swarm.EnableHolePunching`, it requires `Swarm.RelayClient.Enabled` to be true.") + } else { + log.Info("HolePunching has been disabled due to the RelayClient being disabled.") } return }