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();