@@ -710,17 +710,17 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
710
710
//... we need to verify equality between transaction outpoints and claim request
711
711
// outpoints to know if transaction is the original claim or a bumped one issued
712
712
// by us.
713
- let mut set_equality = true ;
713
+ let mut are_sets_equal = true ;
714
714
if !request. requires_external_funding ( ) || !request. is_malleable ( ) {
715
715
// If the claim does not require external funds to be allocated through
716
716
// additional inputs we can simply check the inputs in order as they
717
717
// cannot change under us.
718
718
if request. outpoints ( ) . len ( ) != tx. input . len ( ) {
719
- set_equality = false ;
719
+ are_sets_equal = false ;
720
720
} else {
721
721
for ( claim_inp, tx_inp) in request. outpoints ( ) . iter ( ) . zip ( tx. input . iter ( ) ) {
722
722
if * * claim_inp != tx_inp. previous_output {
723
- set_equality = false ;
723
+ are_sets_equal = false ;
724
724
}
725
725
}
726
726
}
@@ -735,7 +735,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
735
735
break ;
736
736
}
737
737
}
738
- set_equality = spends_all_inputs;
738
+ are_sets_equal = spends_all_inputs;
739
739
}
740
740
741
741
macro_rules! clean_claim_request_after_safety_delay {
@@ -755,7 +755,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
755
755
// If this is our transaction (or our counterparty spent all the outputs
756
756
// before we could anyway with same inputs order than us), wait for
757
757
// ANTI_REORG_DELAY and clean the RBF tracking map.
758
- if set_equality {
758
+ if are_sets_equal {
759
759
clean_claim_request_after_safety_delay ! ( ) ;
760
760
} else { // If false, generate new claim request with update outpoint set
761
761
let mut at_least_one_drop = false ;
0 commit comments