Browse Source
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.ppa-0.6.1
Christian Decker
7 years ago
committed by
Rusty Russell
1 changed files with 23 additions and 2 deletions
Loading…
Reference in new issue