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
commit204a38965c2c2e360ebdfeb357c6cfce50a3654d (patch)
tree6aa23e2f85d36b2b2b50f817a10301783f154041 /src/swarm/auth.rs
parentba64c49fda6f2b4c9eb91eb3d311bdf9b9b98954 (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]