summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 05:12:10 +0100
committertv <tv@krebsco.de>2026-10-28 05:12:10 +0100
commit617575073693643aab33c63bf6ba03fa30933c2e (patch)
treecc796145cf65efd43e48cf94c469c6c0dc31b329 /src/main.rs
parentf67165709fad10ad4078b0691a73188261ec5ea0 (diff)
rename transport::p2p to transport::libp2p
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
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,