Merge rust-bitcoin/rust-bitcoin#4487: Automated nightly rustfmt (2025-05-11)

37d2f7eff1 2025-05-11 automated rustfmt nightly (Fmt Bot)

Pull request description:

  Automated nightly `rustfmt` changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

ACKs for top commit:
  tcharding:
    ACK 37d2f7eff1
  apoelstra:
    ACK 37d2f7eff146b223f5f61a99aee6110d05e932a5; successfully ran local tests

Tree-SHA512: 6a3902cf487ec5a4639700034dcaf04214188f79abf0e9ae08191acd57e151084d74b3145471ccadfa942057235621fe2a46d3c21c7b5dcf295133cdcf0fc9d7
This commit is contained in:
merge-script 2025-05-12 16:31:13 +00:00
commit fb38e1bf2a
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 4 deletions

View File

@ -345,10 +345,7 @@ mod tests {
#[test]
fn fee_wu() {
let operation = FeeRate::from_sat_per_kwu(10)
.to_fee(Weight::MAX)
.unwrap_err()
.operation();
let operation = FeeRate::from_sat_per_kwu(10).to_fee(Weight::MAX).unwrap_err().operation();
assert!(operation.is_multiplication());
let fee_rate = FeeRate::from_sat_per_vb(2).unwrap();