chore: cargo fmt for peer-version code

This commit is contained in:
Jon Kinney
2026-05-06 14:41:21 -05:00
committed by Ferdinand Schober
parent 32b6683cda
commit c2f6e172bb
3 changed files with 10 additions and 8 deletions

View File

@@ -203,7 +203,10 @@ async fn connect_to_handle(
// mirrors a Hello back so the receive loop can populate
// `peer_commit`. Old peers will silently skip this event
// per the forward-compat handler in [`receive_loop`].
let (buf, len) = ProtoEvent::Hello { commit: local_commit() }.into();
let (buf, len) = ProtoEvent::Hello {
commit: local_commit(),
}
.into();
if let Err(e) = conn.send(&buf[..len]).await {
log::debug!("hello send to {addr} failed: {e}");
}