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