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: ACK37d2f7eff1
apoelstra: ACK 37d2f7eff146b223f5f61a99aee6110d05e932a5; successfully ran local tests Tree-SHA512: 6a3902cf487ec5a4639700034dcaf04214188f79abf0e9ae08191acd57e151084d74b3145471ccadfa942057235621fe2a46d3c21c7b5dcf295133cdcf0fc9d7
This commit is contained in:
commit
fb38e1bf2a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue