Skip to content

Commit bbb05ee

Browse files
committed
Clean up typos and unused variables/imports
1 parent 22a0bfc commit bbb05ee

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
@@ -2705,7 +2705,7 @@ where
27052705
}
27062706

27072707
let (monitor_update_option, mut failed_htlcs, unbroadcasted_batch_funding_txid) = shutdown_res;
2708-
log_debug!(self.logger, "Finishing force-closure of channel with {} HTLCs to fail", failed_htlcs.len());
2708+
log_debug!(self.logger, "Finishing closure of channel with {} HTLCs to fail", failed_htlcs.len());
27092709
for htlc_source in failed_htlcs.drain(..) {
27102710
let (source, payment_hash, counterparty_node_id, channel_id) = htlc_source;
27112711
let reason = HTLCFailReason::from_failure_code(0x4000 | 8);
@@ -3844,7 +3844,7 @@ where
38443844
/// Return values are identical to [`Self::funding_transaction_generated`], respective to
38453845
/// each individual channel and transaction output.
38463846
///
3847-
/// Do NOT broadcast the funding transaction yourself. This batch funding transcaction
3847+
/// Do NOT broadcast the funding transaction yourself. This batch funding transaction
38483848
/// will only be broadcast when we have safely received and persisted the counterparty's
38493849
/// signature for each channel.
38503850
///
@@ -3898,7 +3898,7 @@ where
38983898
btree_map::Entry::Vacant(vacant) => Some(vacant.insert(Vec::new())),
38993899
}
39003900
});
3901-
for &(temporary_channel_id, counterparty_node_id) in temporary_channels.iter() {
3901+
for &(temporary_channel_id, counterparty_node_id) in temporary_channels {
39023902
result = result.and_then(|_| self.funding_transaction_generated_intern(
39033903
temporary_channel_id,
39043904
counterparty_node_id,

0 commit comments

Comments
 (0)