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:
Rusty Russell
2023-04-07 16:25:26 +09:30
parent dfa6c0ca52
commit f26b1166b7
4 changed files with 11 additions and 10 deletions

View File

@@ -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);