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

BOLT 4: remove obsolete references to realm

This was from the legacy onion, and is no longer present.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-07-10 10:22:32 +09:30
parent e29fca5703
commit 6a51861d93

View File

@ -1095,10 +1095,6 @@ The top byte of `failure_code` can be read as a set of flags:
The following `failure_code`s are defined:
1. type: PERM|1 (`invalid_realm`)
The `realm` byte was not understood by the processing node.
1. type: NODE|2 (`temporary_node_failure`)
General temporary failure of the processing node.
@ -1285,8 +1281,6 @@ An _erring node_:
- SHOULD select the first error it encounters from the list above.
An _erring node_ MAY:
- if the `realm` byte is unknown:
- return an `invalid_realm` error.
- if the per-hop payload in the onion is invalid (e.g. it is not a valid tlv stream)
or is missing required information (e.g. the amount was not specified):
- return an `invalid_onion_payload` error.