From 204a38965c2c2e360ebdfeb357c6cfce50a3654d Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 05:22:02 +0100 Subject: unify hex builders --- src/swarm/topology/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swarm/topology/tests.rs') diff --git a/src/swarm/topology/tests.rs b/src/swarm/topology/tests.rs index d1b755f..d3a3e38 100644 --- a/src/swarm/topology/tests.rs +++ b/src/swarm/topology/tests.rs @@ -49,7 +49,7 @@ fn edges(graph: &BTreeMap>) -> BTreeSet<(String, String } fn hex(bytes: [u8; 32]) -> String { - bytes.iter().map(|byte| format!("{byte:02x}")).collect() + crate::transport::Hex(&bytes).to_string() } /// Over random swarms (size, `k`, who is reachable, who is stable): links only -- cgit v1.3.1