mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
bolt: update to BOLT spec changes (extract format + type specifications)
updates the bolt version to 6639cef095a2ecc7b8f0c48c6e7f2f906fbfbc58. this requires us to use the new bolt parser at generate-bolt.py and updates to all of the type specifications (ie. from u8 -> byte)
This commit is contained in:
committed by
Rusty Russell
parent
6c240ab589
commit
5c07afac7d
@@ -464,11 +464,11 @@ u8 *create_onionreply(const tal_t *ctx, const struct secret *shared_secret,
|
||||
* the following fields:
|
||||
*
|
||||
* 1. data:
|
||||
* * [`32`:`hmac`]
|
||||
* * [`2`:`failure_len`]
|
||||
* * [`failure_len`:`failuremsg`]
|
||||
* * [`2`:`pad_len`]
|
||||
* * [`pad_len`:`pad`]
|
||||
* * [`32*byte`:`hmac`]
|
||||
* * [`u16`:`failure_len`]
|
||||
* * [`failure_len*byte`:`failuremsg`]
|
||||
* * [`u16`:`pad_len`]
|
||||
* * [`pad_len*byte`:`pad`]
|
||||
*/
|
||||
towire_u16(&payload, msglen);
|
||||
towire(&payload, failure_msg, msglen);
|
||||
|
||||
Reference in New Issue
Block a user