Skip to content

Commit 2916a08

Browse files
committed
Clean up typos and unused variables/imports
1 parent 20f287f commit 2916a08

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
@@ -2700,7 +2700,7 @@ where
27002700
}
27012701

27022702
let (monitor_update_option, mut failed_htlcs, unbroadcasted_batch_funding_txid) = shutdown_res;
2703-
log_debug!(self.logger, "Finishing force-closure of channel with {} HTLCs to fail", failed_htlcs.len());
2703+
log_debug!(self.logger, "Finishing closure of channel with {} HTLCs to fail", failed_htlcs.len());
27042704
for htlc_source in failed_htlcs.drain(..) {
27052705
let (source, payment_hash, counterparty_node_id, channel_id) = htlc_source;
27062706
let reason = HTLCFailReason::from_failure_code(0x4000 | 8);
@@ -3839,7 +3839,7 @@ where
38393839
/// Return values are identical to [`Self::funding_transaction_generated`], respective to
38403840
/// each individual channel and transaction output.
38413841
///
3842-
/// Do NOT broadcast the funding transaction yourself. This batch funding transcaction
3842+
/// Do NOT broadcast the funding transaction yourself. This batch funding transaction
38433843
/// will only be broadcast when we have safely received and persisted the counterparty's
38443844
/// signature for each channel.
38453845
///
@@ -3893,7 +3893,7 @@ where
38933893
btree_map::Entry::Vacant(vacant) => Some(vacant.insert(Vec::new())),
38943894
}
38953895
});
3896-
for &(temporary_channel_id, counterparty_node_id) in temporary_channels.iter() {
3896+
for &(temporary_channel_id, counterparty_node_id) in temporary_channels {
38973897
result = result.and_then(|_| self.funding_transaction_generated_intern(
38983898
temporary_channel_id,
38993899
counterparty_node_id,

0 commit comments

Comments
 (0)