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/transport/wire.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport') diff --git a/src/transport/wire.rs b/src/transport/wire.rs index 28bd431..00bc739 100644 --- a/src/transport/wire.rs +++ b/src/transport/wire.rs @@ -590,7 +590,7 @@ mod tests { } fn hex(bytes: &[u8]) -> String { - bytes.iter().map(|byte| format!("{byte:02x}")).collect() + crate::transport::Hex(bytes).to_string() } /// The exact bytes of a few messages. If this fails after a change to a message type -- cgit v1.3.1