1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-10 17:18:44 +01:00

BOLT4: channel_update is mandatory in UPDATE error messages

This commit is contained in:
Fabrice Drouin 2018-04-25 18:11:18 +02:00 committed by Rusty Russell
parent c2ced54fa6
commit cac009cf7b

View file

@ -655,6 +655,8 @@ The top byte of `failure_code` can be read as a set of flags:
* 0x2000 (NODE): node failure (otherwise channel) * 0x2000 (NODE): node failure (otherwise channel)
* 0x1000 (UPDATE): new channel update enclosed * 0x1000 (UPDATE): new channel update enclosed
Please note that the `channel_update` field is mandatory in `UPDATE` messages.
The following `failure_code`s are defined: The following `failure_code`s are defined:
1. type: PERM|1 (`invalid_realm`) 1. type: PERM|1 (`invalid_realm`)