Files
lightning/lightningd
Christian Decker f449f9d3ef onion: Make sure we understand the channel_update in the onionreply
As was pointed out by @robtex we have underspecified the format of the nested
`channel_update` in the onionreply: lnd and eclair inserted the raw
channel_update without the type prefix, while we went for the full wire format,
including the type prefix. While we agreed that with the type it is more
flexible, and consistent, we decided to adapt to the majority and at least be
compatibly broken.

This commit takes care of being able to interpret either format correctly. It's
not perfect since signatures can happen to start with 0x0102 (the channel_update
type) but that'll happen only once ever 65k failures.
2018-07-30 21:19:04 +00:00
..
2017-10-20 18:31:32 +02:00
2018-07-29 16:27:38 +02:00
2018-05-05 17:55:10 +02:00
2018-07-30 03:04:45 +00:00
2018-02-16 13:08:29 +01:00
2018-07-17 12:32:00 +02:00
2018-07-17 12:32:00 +02:00