aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/wire.rs2
1 files changed, 1 insertions, 1 deletions
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