From 6a51861d93ad617438fe24195768e2742d7708ac Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 10 Jul 2024 10:22:32 +0930 Subject: [PATCH] BOLT 4: remove obsolete references to `realm` This was from the legacy onion, and is no longer present. Signed-off-by: Rusty Russell --- 04-onion-routing.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/04-onion-routing.md b/04-onion-routing.md index e0893df..ffccacb 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -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.