We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a4d5ab commit deb2a67Copy full SHA for deb2a67
core/node/libp2p/relay.go
@@ -75,6 +75,8 @@ func HolePunching(flag config.Flag, hasRelayClient bool) func() (opts Libp2pOpts
75
// otherwise just silently disable hole punching
76
if flag != config.Default {
77
log.Fatal("Failed to enable `Swarm.EnableHolePunching`, it requires `Swarm.RelayClient.Enabled` to be true.")
78
+ } else {
79
+ log.Info("HolePunching has been disabled due to the RelayClient being disabled.")
80
}
81
return
82
0 commit comments