Skip to content

Commit 3860351

Browse files
committed
Onion failure message may be followed by a tlv stream
1 parent f32c6dd commit 3860351

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

04-onion-routing.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,10 @@ The _origin node_:
837837

838838
The failure message encapsulated in `failuremsg` has an identical format as
839839
a normal message: a 2-byte type `failure_code` followed by data applicable
840-
to that type. Below is a list of the currently supported `failure_code`
840+
to that type. The message data is followed by an optional
841+
[TLV stream](01-messaging.md#type-length-value-format).
842+
843+
Below is a list of the currently supported `failure_code`
841844
values, followed by their use case requirements.
842845

843846
Notice that the `failure_code`s are not of the same type as other message types,

0 commit comments

Comments
 (0)