Files
lightning/common
Rusty Russell f76203727d htlc_wire: be stricter in marshaling/unmarshaling struct failed_htlc.
There are three cases:
1. failcode is 0, scid is NULL, failreason is the onion to fwd.
2. failcode is non-zero, but UPDATE bit not set.  scid is NULL, failreason NULL.
3. failcode has UPDATE bit set.  scid is non-NULL, failreason is NULL.

Assert these on marshaling, and only send the parts we need so unmarshal is
always canonical.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-27 14:12:00 +02:00
..
2018-07-04 23:57:00 +02:00
2018-07-01 17:37:03 +02:00
2018-01-29 04:46:54 +00:00
2018-07-01 17:37:03 +02:00
2018-02-08 22:49:34 +01:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00
2018-07-01 14:55:29 +02:00
2017-12-20 12:43:10 +01:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00
2018-03-06 19:26:21 +01:00
2018-07-04 23:57:00 +02:00
2018-03-27 23:17:17 +00:00
2018-06-18 12:33:25 +02:00
2018-06-18 12:31:09 +02:00
2018-06-18 12:31:09 +02:00