Add new HTLCDestination variant for invalid onion
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 23 Jan 2024 00:29:41 +0000 (16:29 -0800)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 27 Mar 2024 21:28:01 +0000 (14:28 -0700)
commite255b2301778e54852f3ccdd2d6415a189b64e50
treec1ecba4b96170a420f4ee7903a4bb2768e74c06d
parent0b38b3981d4f89fe3dc302c3156e79897da50081
Add new HTLCDestination variant for invalid onion

The existing variants do not cover such case as we previously never
surfaced `HTLCHandlingFailed` events for HTLCs that we failed back with
`UpdateFailMalformedHTLC` due to an invalid onion packet.
lightning/src/events/mod.rs