mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
autorelay: send addresses on eventbus; dont wrap address factory (#3071)
This commit is contained in:
@@ -532,7 +532,7 @@ func (cfg *Config) NewNode() (host.Host, error) {
|
||||
}
|
||||
fxopts = append(fxopts, transportOpts...)
|
||||
|
||||
// Configure routing and autorelay
|
||||
// Configure routing
|
||||
if cfg.Routing != nil {
|
||||
fxopts = append(fxopts,
|
||||
fx.Provide(cfg.Routing),
|
||||
|
Reference in New Issue
Block a user