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 5cffbd7 commit 1741a58Copy full SHA for 1741a58
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