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 6c6361d commit 1ae5da1Copy full SHA for 1ae5da1
lightning/src/ln/channel.rs
@@ -4405,6 +4405,9 @@ where
4405
amount_msat,
4406
});
4407
4408
+ // TODO: HTLC removals are released from the holding cell at the same time
4409
+ // as HTLC additions, so if HTLC additions are applied here, so should HTLC removals.
4410
+ // This would allow us to make better use of channel liquidity.
4411
let holding_cell_htlcs = self.holding_cell_htlc_updates.iter().filter_map(|htlc| {
4412
if let &HTLCUpdateAwaitingACK::AddHTLC { amount_msat, .. } = htlc {
4413
Some(HTLCAmountDirection { outbound: true, amount_msat })
0 commit comments