chore(dep): update dependencies
Updates: * cid, multihash, and multiaddr to ensure that minimal varints are used. * log to deduplicate some code between version 2 and version 1. * multistream to avoid writing from multiple threads. * badger/datastore to harden prefix handling in queries. * libp2p to 0.5.2 BREAKING: The new libp2p version now formats addresses with /p2p instead of /ipfs. /ipfs multiaddrs are still supported.
This commit is contained in:
committed by
whyrusleeping
parent
4244ab72d5
commit
6992fd4dba
@@ -51,6 +51,6 @@ func AutoRelay(mctx helpers.MetricsCtx, lc fx.Lifecycle, router BaseIpfsRouting,
|
||||
ctx := helpers.LifecycleCtx(mctx, lc)
|
||||
|
||||
// TODO: review: LibP2P doesn't set this as host in config.go, why?
|
||||
_ = relay.NewAutoRelay(ctx, h.(*basichost.BasicHost), d, router)
|
||||
_ = relay.NewAutoRelay(ctx, h.(*basichost.BasicHost), d, router, nil)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user