1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOLT 4: include channel_update's message type

Some failure messages include a `channel_update`, and it is currently not clear if, when included the `channel_update` must be written with or without its wire message type (258).
This commit is contained in:
Pierre-Marie Padiou 2019-01-14 17:42:51 +01:00 committed by GitHub
parent 3fef98d106
commit 7e6377b0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -704,7 +704,7 @@ The top byte of `failure_code` can be read as a set of flags:
* 0x1000 (UPDATE): new channel update enclosed * 0x1000 (UPDATE): new channel update enclosed
Please note that the `channel_update` field is mandatory in messages whose Please note that the `channel_update` field is mandatory in messages whose
`failure_code` includes the `UPDATE` flag. `failure_code` includes the `UPDATE` flag, and that when enclosed the `channel_update` must include the wire message type.
The following `failure_code`s are defined: The following `failure_code`s are defined: