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

Clarify what the two flag bytes are in channel_disabled failures

Fixes #791
This commit is contained in:
Matt Corallo 2022-04-15 17:13:23 +00:00 committed by Bastien Teinturier
parent e7017173d6
commit 03468e1756

View File

@ -998,11 +998,13 @@ The amount in the HTLC doesn't match the value in the onion.
1. type: UPDATE|20 (`channel_disabled`) 1. type: UPDATE|20 (`channel_disabled`)
2. data: 2. data:
* [`u16`:`flags`] * [`u16`:`disabled_flags`]
* [`u16`:`len`] * [`u16`:`len`]
* [`len*byte`:`channel_update`] * [`len*byte`:`channel_update`]
The channel from the processing node has been disabled. The channel from the processing node has been disabled.
No flags for `disabled_flags` are currently defined, thus it is currently
always two zero bytes.
1. type: 21 (`expiry_too_far`) 1. type: 21 (`expiry_too_far`)