style: rustfmt the code added in 01-04 and the reconcile fix

The release gate's cargo-fmt stage failed on my own additions — the
tests in message_types.rs and lnd/info.rs and the reconcile branch in
prod_orchestrator.rs were written programmatically and never passed
through rustfmt. Formatting only; rustfmt is semantics-preserving and
the gate re-runs the suites before building.

Caught by the gate rather than in review, which is the gate working. Also
a reminder that a piped command's exit code is the pipe's, not the
script's: the task notification reported success while the log said
CREATE_RELEASE_EXIT=1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
archipelago
2026-08-03 01:34:23 -04:00
co-authored by Claude Opus 5
parent 41de23e71f
commit b15b160294
3 changed files with 28 additions and 17 deletions
+6 -3
View File
@@ -269,8 +269,7 @@ mod tests {
use super::*;
/// A real compressed secp256k1 pubkey shape: 66 hex characters.
const GOOD_PUBKEY: &str =
"03a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90";
const GOOD_PUBKEY: &str = "03a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90";
fn parse(body: &str) -> LndGetInfoResponse {
serde_json::from_str(body).expect("LND getinfo body must deserialize")
@@ -285,7 +284,11 @@ mod tests {
let (pubkey, uris) = map_identity(&parsed);
assert_eq!(pubkey.as_deref(), Some(GOOD_PUBKEY));
assert_eq!(uris.len(), 2, "both advertised URIs must survive the mapping");
assert_eq!(
uris.len(),
2,
"both advertised URIs must survive the mapping"
);
assert!(uris[0].starts_with(GOOD_PUBKEY));
}