From 484110f6e372604f3e47b3084da9b855622d8e1f Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Fri, 2 Sep 2022 11:25:13 +0200 Subject: [PATCH] BOLT 04: Onion failure message may be followed by a tlv stream --- 04-onion-routing.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/04-onion-routing.md b/04-onion-routing.md index fe6c7a835..7d7d6e807 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -803,7 +803,10 @@ The _origin node_: The failure message encapsulated in `failuremsg` has an identical format as a normal message: a 2-byte type `failure_code` followed by data applicable -to that type. Below is a list of the currently supported `failure_code` +to that type. The message data is followed by an optional +[TLV stream](01-messaging.md#type-length-value-format). + +Below is a list of the currently supported `failure_code` values, followed by their use case requirements. Notice that the `failure_code`s are not of the same type as other message types,