diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index a95d764..708e43d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -208,11 +208,12 @@ async fn main() -> Result<()> { .with_context(|| format!("libp2p-relays {address:?}")) }) .collect::<Result<Vec<_>>>()?; - let key = transport::p2p::Libp2pConfig::load_key(args.libp2p_key_file.as_deref())?; + let key = + transport::libp2p::Libp2pConfig::load_key(args.libp2p_key_file.as_deref())?; ( "libp2p", - Arc::new(transport::p2p::Libp2pTransport::start( - transport::p2p::Libp2pConfig { + Arc::new(transport::libp2p::Libp2pTransport::start( + transport::libp2p::Libp2pConfig { key, listen, announce, |
