diff options
Diffstat (limited to 'src/swarm/auth.rs')
| -rw-r--r-- | src/swarm/auth.rs | 2 |
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] |
