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 91dae0a commit 017a33aCopy full SHA for 017a33a
lightning/src/ln/channel.rs
@@ -4222,6 +4222,9 @@ where
4222
amount_msat,
4223
});
4224
4225
+ // TODO: HTLC removals are released from the holding cell at the same time
4226
+ // as HTLC additions, so if HTLC additions are applied here, so should HTLC removals.
4227
+ // This would allow us to make better use of channel liquidity.
4228
let holding_cell_htlcs = self.holding_cell_htlc_updates.iter().filter_map(|htlc| {
4229
if let &HTLCUpdateAwaitingACK::AddHTLC { amount_msat, .. } = htlc {
4230
Some(HTLCAmountDirection { outbound: true, amount_msat })
0 commit comments