Skip to content

Commit 7dc693f

Browse files
committed
Clean up typos and unused variables/imports
1 parent 989304e commit 7dc693f

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
@@ -2703,7 +2703,7 @@ where
27032703
}
27042704

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

0 commit comments

Comments
 (0)