mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-22 06:24:22 +01:00
This covers all the cases where an onion can be malformed; this means we know in advance that it's bad. That allows us to distinguish two cases: where lightningd rejects the onion as bad, and where the next peer rejects the next onion as bad. Both of those (will) set failcode to one of the BADONION values. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>