Skip to content

Commit ef0f35a

Browse files
authored
Merge pull request #3393 from tnull/2024-11-drop-dead-code
Drop dead code from `provide_latest_counterparty_commitment_tx`
2 parents 299b7bd + 468588f commit ef0f35a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,12 +2855,6 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
28552855
self.their_cur_per_commitment_points = Some((commitment_number, their_per_commitment_point, None));
28562856
}
28572857
}
2858-
let mut htlcs = Vec::with_capacity(htlc_outputs.len());
2859-
for htlc in htlc_outputs {
2860-
if htlc.0.transaction_output_index.is_some() {
2861-
htlcs.push(htlc.0);
2862-
}
2863-
}
28642858
}
28652859

28662860
/// Informs this monitor of the latest holder (ie broadcastable) commitment transaction. The

0 commit comments

Comments
 (0)