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 e64287f commit 65e9287Copy full SHA for 65e9287
lightning/src/ln/channel.rs
@@ -4396,6 +4396,9 @@ where
4396
amount_msat,
4397
});
4398
4399
+ // TODO: HTLC removals are released from the holding cell at the same time
4400
+ // as HTLC additions, so if HTLC additions are applied here, so should HTLC removals.
4401
+ // This would allow us to make better use of channel liquidity.
4402
let holding_cell_htlcs = self.holding_cell_htlc_updates.iter().filter_map(|htlc| {
4403
if let &HTLCUpdateAwaitingACK::AddHTLC { amount_msat, .. } = htlc {
4404
Some(HTLCAmountDirection { outbound: true, amount_msat })
0 commit comments