diff options
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/libp2p/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/libp2p/config.rs b/src/transport/libp2p/config.rs index 012999d..719f2e8 100644 --- a/src/transport/libp2p/config.rs +++ b/src/transport/libp2p/config.rs @@ -103,7 +103,7 @@ impl Libp2pConfig { }; let mut bytes = std::fs::read(path) .with_context(|| format!("Reading the libp2p key from {}", path.display()))?; - crate::swarm::auth::warn_if_readable_by_others(path, "libp2p key"); + crate::files::warn_if_readable_by_others(path, "libp2p key"); if bytes.len() != 32 { bail!( "The libp2p key in {} has {} bytes; it has 32", |
