@@ -2692,7 +2692,7 @@ where
26922692 }
26932693
26942694 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());
26962696 for htlc_source in failed_htlcs.drain(..) {
26972697 let (source, payment_hash, counterparty_node_id, channel_id) = htlc_source;
26982698 let reason = HTLCFailReason::from_failure_code(0x4000 | 8);
@@ -3841,7 +3841,7 @@ where
38413841 /// Return values are identical to [`Self::funding_transaction_generated`], respective to
38423842 /// each individual channel and transaction output.
38433843 ///
3844- /// Do NOT broadcast the funding transaction yourself. This batch funding transcaction
3844+ /// Do NOT broadcast the funding transaction yourself. This batch funding transaction
38453845 /// will only be broadcast when we have safely received and persisted the counterparty's
38463846 /// signature for each channel.
38473847 ///
@@ -3895,7 +3895,7 @@ where
38953895 btree_map::Entry::Vacant(vacant) => Some(vacant.insert(Vec::new())),
38963896 }
38973897 });
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 {
38993899 result = result.and_then(|_| self.funding_transaction_generated_intern(
39003900 temporary_channel_id,
39013901 counterparty_node_id,
0 commit comments