]> git.bitcoin.ninja Git - rust-lightning/commit
Don't trigger manager persistence on unexpected release_htlc message.
authorValentine Wallace <vwallace@protonmail.com>
Thu, 29 Aug 2024 19:37:24 +0000 (15:37 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 13 Sep 2024 14:40:06 +0000 (10:40 -0400)
commitc4f3e2567bfe9d1793a29610d21be020dca348aa
tree497b42beb560ee4fdda1288c2cb991a12ca38671
parent7dd178738d6932466df52eb143a801fe041588ba
Don't trigger manager persistence on unexpected release_htlc message.

If someone sends us an unexpected or duplicate release_held_htlc onion message,
we should simply ignore it and not persist the entire ChannelManager in
response.
lightning/src/ln/channelmanager.rs