mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
update libp2p (#4864)
## Issue Addressed updates libp2p to the latest version and uses the new `SwarmBuilder`. Superseeds https://github.com/sigp/lighthouse/pull/4695/ CC @mxinden I don't think we can use both `bandwidth_loggers` with the new syntax right?
This commit is contained in:
@@ -88,7 +88,7 @@ pub fn build_transport(
|
||||
};
|
||||
|
||||
// Enables DNS over the transport.
|
||||
let transport = libp2p::dns::TokioDnsConfig::system(transport)?.boxed();
|
||||
let transport = libp2p::dns::tokio::Transport::system(transport)?.boxed();
|
||||
|
||||
Ok((transport, bandwidth))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user