mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-13 14:52:21 +01:00
Merge pull request #3393 from tnull/2024-11-drop-dead-code
Drop dead code from `provide_latest_counterparty_commitment_tx`
This commit is contained in:
commit
ef0f35a7b1
1 changed files with 0 additions and 6 deletions
|
@ -2855,12 +2855,6 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
|
|||
self.their_cur_per_commitment_points = Some((commitment_number, their_per_commitment_point, None));
|
||||
}
|
||||
}
|
||||
let mut htlcs = Vec::with_capacity(htlc_outputs.len());
|
||||
for htlc in htlc_outputs {
|
||||
if htlc.0.transaction_output_index.is_some() {
|
||||
htlcs.push(htlc.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Informs this monitor of the latest holder (ie broadcastable) commitment transaction. The
|
||||
|
|
Loading…
Add table
Reference in a new issue