@@ -718,17 +718,17 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
718
718
//... we need to verify equality between transaction outpoints and claim request
719
719
// outpoints to know if transaction is the original claim or a bumped one issued
720
720
// by us.
721
- let mut set_equality = true ;
721
+ let mut are_sets_equal = true ;
722
722
if !request. requires_external_funding ( ) || !request. is_malleable ( ) {
723
723
// If the claim does not require external funds to be allocated through
724
724
// additional inputs we can simply check the inputs in order as they
725
725
// cannot change under us.
726
726
if request. outpoints ( ) . len ( ) != tx. input . len ( ) {
727
- set_equality = false ;
727
+ are_sets_equal = false ;
728
728
} else {
729
729
for ( claim_inp, tx_inp) in request. outpoints ( ) . iter ( ) . zip ( tx. input . iter ( ) ) {
730
730
if * * claim_inp != tx_inp. previous_output {
731
- set_equality = false ;
731
+ are_sets_equal = false ;
732
732
}
733
733
}
734
734
}
@@ -743,7 +743,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
743
743
break ;
744
744
}
745
745
}
746
- set_equality = spends_all_inputs;
746
+ are_sets_equal = spends_all_inputs;
747
747
}
748
748
749
749
macro_rules! clean_claim_request_after_safety_delay {
@@ -763,7 +763,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
763
763
// If this is our transaction (or our counterparty spent all the outputs
764
764
// before we could anyway with same inputs order than us), wait for
765
765
// ANTI_REORG_DELAY and clean the RBF tracking map.
766
- if set_equality {
766
+ if are_sets_equal {
767
767
clean_claim_request_after_safety_delay ! ( ) ;
768
768
} else { // If false, generate new claim request with update outpoint set
769
769
let mut at_least_one_drop = false ;
0 commit comments