We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f8cf6 commit b05c673Copy full SHA for b05c673
core/node/groups.go
@@ -135,7 +135,7 @@ func LibP2P(bcfg *BuildCfg, cfg *config.Config) fx.Option {
135
fx.Provide(libp2p.Transports(cfg.Swarm.Transports)),
136
fx.Invoke(libp2p.StartListening(cfg.Addresses.Swarm)),
137
fx.Invoke(libp2p.SetupDiscovery(cfg.Discovery.MDNS.Enabled, cfg.Discovery.MDNS.Interval)),
138
- fx.Invoke(libp2p.ForceReachability(cfg.Internal.Libp2pForceReachability)),
+ fx.Provide(libp2p.ForceReachability(cfg.Internal.Libp2pForceReachability)),
139
140
fx.Provide(libp2p.Security(!bcfg.DisableEncryptedConnections, cfg.Swarm.Transports)),
141
0 commit comments