aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/auth.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 05:22:02 +0100
committertv <tv@krebsco.de>2026-10-31 05:22:02 +0100
commit542586a58039aca1517d06c553accfec4e090b3c (patch)
tree9dcf4d38ee15252ada165a0e0de590dbe759a0d1 /src/swarm/auth.rs
parent6e5c2483e4df40fb0485237cce8d9f8204bad50a (diff)
unify hex builders
Diffstat (limited to 'src/swarm/auth.rs')
-rw-r--r--src/swarm/auth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/auth.rs b/src/swarm/auth.rs
index 088f615..50e2fae 100644
--- a/src/swarm/auth.rs
+++ b/src/swarm/auth.rs
@@ -172,7 +172,7 @@ mod tests {
use super::*;
fn hex(bytes: &[u8]) -> String {
- bytes.iter().map(|byte| format!("{byte:02x}")).collect()
+ crate::transport::Hex(bytes).to_string()
}
#[test]