]> git.bitcoin.ninja Git - rust-lightning/commit
Consider pending decode_update_add_htlcs when pushing forward event
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 8 Mar 2024 07:35:30 +0000 (23:35 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Mar 2024 21:28:04 +0000 (14:28 -0700)
commit7fe25829ed2ddce400af1d7f459f48f10288a3ef
tree8c3c5745d1ad5ecad8e01ca8e3d1b4022d43f8b4
parent2edc5b2865560fcafdf2b95faa04b6ca8d522f6f
Consider pending decode_update_add_htlcs when pushing forward event

Since decoding pending `update_add_htlc` onions will go through the HTLC
forwarding path, we'll want to make sure we don't queue more events than
necessary if we have both HTLCs to forward/fail and pending
`update_add_htlc` onions to decode.
lightning/src/ln/channelmanager.rs