We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c41b2 commit ff95850Copy full SHA for ff95850
lightning/src/ln/channel.rs
@@ -4168,6 +4168,9 @@ where
4168
amount_msat,
4169
});
4170
4171
+ // TODO: HTLC removals are released from the holding cell at the same time
4172
+ // as HTLC additions, so if HTLC additions are applied here, so should HTLC removals.
4173
+ // This would allow us to make better use of channel liquidity.
4174
let holding_cell_htlcs = self.holding_cell_htlc_updates.iter().filter_map(|htlc| {
4175
if let &HTLCUpdateAwaitingACK::AddHTLC { amount_msat, .. } = htlc {
4176
Some(HTLCAmountDirection { outbound: true, amount_msat })
0 commit comments