@@ -2692,7 +2692,7 @@ where
2692
2692
}
2693
2693
2694
2694
let (monitor_update_option, mut failed_htlcs, unbroadcasted_batch_funding_txid) = shutdown_res;
2695
- log_debug!(self.logger, "Finishing force- closure of channel with {} HTLCs to fail", failed_htlcs.len());
2695
+ log_debug!(self.logger, "Finishing closure of channel with {} HTLCs to fail", failed_htlcs.len());
2696
2696
for htlc_source in failed_htlcs.drain(..) {
2697
2697
let (source, payment_hash, counterparty_node_id, channel_id) = htlc_source;
2698
2698
let reason = HTLCFailReason::from_failure_code(0x4000 | 8);
@@ -3841,7 +3841,7 @@ where
3841
3841
/// Return values are identical to [`Self::funding_transaction_generated`], respective to
3842
3842
/// each individual channel and transaction output.
3843
3843
///
3844
- /// Do NOT broadcast the funding transaction yourself. This batch funding transcaction
3844
+ /// Do NOT broadcast the funding transaction yourself. This batch funding transaction
3845
3845
/// will only be broadcast when we have safely received and persisted the counterparty's
3846
3846
/// signature for each channel.
3847
3847
///
@@ -3895,7 +3895,7 @@ where
3895
3895
btree_map::Entry::Vacant(vacant) => Some(vacant.insert(Vec::new())),
3896
3896
}
3897
3897
});
3898
- for (channel_idx, &(temporary_channel_id, counterparty_node_id)) in temporary_channels.iter().enumerate() {
3898
+ for &(temporary_channel_id, counterparty_node_id) in temporary_channels {
3899
3899
result = result.and_then(|_| self.funding_transaction_generated_intern(
3900
3900
temporary_channel_id,
3901
3901
counterparty_node_id,
0 commit comments