From 27df21d3eadd6c28b7775e5b1a0a57e89b6b1d8b Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 05:22:02 +0100 Subject: unify hex builders --- src/swarm/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swarm/auth.rs') 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] -- cgit v1.3.1