mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
Makefile: update bolts a0bbe47b0278b4f152dbaa4f5fab2562413a217c
"BOLT 04: remove associated data from test vector" (We actually use merge point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -694,10 +694,11 @@ struct onionreply *create_onionreply(const tal_t *ctx,
|
||||
|
||||
/* BOLT #4:
|
||||
* The _erring node_:
|
||||
* - SHOULD set `pad` such that the `failure_len` plus `pad_len`
|
||||
* is equal to 256.
|
||||
* - Note: this value is 118 bytes longer than the longest
|
||||
* currently-defined message.
|
||||
* - MUST set `pad` such that the `failure_len` plus `pad_len`
|
||||
* is at least 256.
|
||||
* - SHOULD set `pad` such that the `failure_len` plus `pad_len` is equal
|
||||
* to 256. Deviating from this may cause older nodes to be unable to parse
|
||||
* the return message.
|
||||
*/
|
||||
const u16 onion_reply_size = IFDEV(dev_onion_reply_length, 256);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user