From 4fc69d914d2ca99a9b6051e5127738483780b0d0 Mon Sep 17 00:00:00 2001 From: Fmt Bot Date: Sun, 6 Jul 2025 00:53:10 +0000 Subject: [PATCH] 2025-07-06 automated rustfmt nightly --- bitcoin/src/blockdata/transaction.rs | 2 +- units/src/locktime/relative.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 87d9daefc..10343cd28 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -1142,7 +1142,7 @@ impl InputWeightPrediction { /// Computes the **signature weight** added to a transaction by an input with this weight prediction, /// not counting the prevout (txid, index), sequence, potential witness flag bytes or the witness count varint. - /// + /// /// This function's internal arithmetic saturates at u32::MAX, so the return value of this /// function may be inaccurate for extremely large witness predictions. /// diff --git a/units/src/locktime/relative.rs b/units/src/locktime/relative.rs index 88719e2bf..3a9bcd851 100644 --- a/units/src/locktime/relative.rs +++ b/units/src/locktime/relative.rs @@ -313,7 +313,7 @@ mod tests { let locktime = NumberOf512Seconds::from_512_second_intervals(intervals); assert_eq!(locktime.to_512_second_intervals(), intervals); } - + #[test] fn from_seconds_ceil_success() { let actual = NumberOf512Seconds::from_seconds_ceil(100).unwrap();