]> git.bitcoin.ninja Git - rust-lightning/commit
Support failing blinded non-intro HTLCs after RAA processing.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 6 Dec 2023 20:19:23 +0000 (15:19 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Tue, 12 Dec 2023 23:38:58 +0000 (18:38 -0500)
commitb26480189e152784e1ff1f37e6519f83ad405e9f
treef4213f531fc74674ed8bc249b0133371c977458e
parent4198edaead6a170ef4a023562243bc9758dadc17
Support failing blinded non-intro HTLCs after RAA processing.

If an HTLC fails after its RAA is processed, it is failed back with
ChannelManager::fail_htlc_backwards_internal. This method will now correctly
inform the channel that this HTLC is blinded and to construct an
update_malformed message accordingly.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs