File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -95,4 +95,5 @@ RUSTFLAGS='-D warnings' cargo clippy -- \
95
95
-A clippy::unused_unit \
96
96
-A clippy::useless_conversion \
97
97
-A clippy::unnecessary_map_or ` # to be removed once we hit MSRV 1.70` \
98
- -A clippy::manual_repeat_n ` # to be removed once we hit MSRV 1.86`
98
+ -A clippy::manual_repeat_n ` # to be removed once we hit MSRV 1.86` \
99
+ -A clippy::io_other_error ` # to be removed once we hit MSRV 1.74`
Original file line number Diff line number Diff line change @@ -715,7 +715,7 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> {
715
715
let claim_id = self . claimable_outpoints . get ( outpoint) . map ( |( claim_id, _) | * claim_id)
716
716
. or_else ( || {
717
717
self . pending_claim_requests . iter ( )
718
- . find ( |( _, claim) | claim. outpoints ( ) . iter ( ) . any ( |claim_outpoint| * claim_outpoint == outpoint) )
718
+ . find ( |( _, claim) | claim. outpoints ( ) . contains ( & outpoint) )
719
719
. map ( |( claim_id, _) | * claim_id)
720
720
} ) ;
721
721
if let Some ( claim_id) = claim_id {
@@ -726,7 +726,7 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> {
726
726
}
727
727
} else {
728
728
self . locktimed_packages . values_mut ( ) . for_each ( |claims|
729
- claims. retain ( |claim| !claim. outpoints ( ) . iter ( ) . any ( |claim_outpoint| * claim_outpoint == outpoint) ) ) ;
729
+ claims. retain ( |claim| !claim. outpoints ( ) . contains ( & outpoint) ) ) ;
730
730
}
731
731
}
732
732
You can’t perform that action at this time.
0 commit comments