Skip to content

Commit 46dab8f

Browse files
committed
Clean up typos and unused variables/imports
1 parent 1852715 commit 46dab8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ where
27102710
}
27112711

27122712
let (monitor_update_option, mut failed_htlcs, unbroadcasted_batch_funding_txid) = shutdown_res;
2713-
log_debug!(self.logger, "Finishing force-closure of channel with {} HTLCs to fail", failed_htlcs.len());
2713+
log_debug!(self.logger, "Finishing closure of channel with {} HTLCs to fail", failed_htlcs.len());
27142714
for htlc_source in failed_htlcs.drain(..) {
27152715
let (source, payment_hash, counterparty_node_id, channel_id) = htlc_source;
27162716
let reason = HTLCFailReason::from_failure_code(0x4000 | 8);
@@ -3849,7 +3849,7 @@ where
38493849
/// Return values are identical to [`Self::funding_transaction_generated`], respective to
38503850
/// each individual channel and transaction output.
38513851
///
3852-
/// Do NOT broadcast the funding transaction yourself. This batch funding transcaction
3852+
/// Do NOT broadcast the funding transaction yourself. This batch funding transaction
38533853
/// will only be broadcast when we have safely received and persisted the counterparty's
38543854
/// signature for each channel.
38553855
///
@@ -3903,7 +3903,7 @@ where
39033903
btree_map::Entry::Vacant(vacant) => Some(vacant.insert(Vec::new())),
39043904
}
39053905
});
3906-
for &(temporary_channel_id, counterparty_node_id) in temporary_channels.iter() {
3906+
for &(temporary_channel_id, counterparty_node_id) in temporary_channels {
39073907
result = result.and_then(|_| self.funding_transaction_generated_intern(
39083908
temporary_channel_id,
39093909
counterparty_node_id,

0 commit comments

Comments
 (0)