From a6ebdefb460fa1128f50f549b03b2a5c16aefdaf Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 25 Aug 2021 13:51:06 +0930 Subject: [PATCH] BOLT 4: modernize tlv labels so extract-formats.py can find them. Signed-off-by: Rusty Russell --- 04-onion-routing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/04-onion-routing.md b/04-onion-routing.md index bf6876d77..c769ac846 100644 --- a/04-onion-routing.md +++ b/04-onion-routing.md @@ -377,7 +377,7 @@ is no legacy format, thus a `bigsize` of 0 means no payload. An intermediate node expects an `enctlv` which it can decrypt using the `blinding` which it is handed along with the onion message. -1. tlvs: `onionmsg_payload` +1. `tlv_stream`: `onionmsg_payload` 2. types: 1. type: 8 (`reply_path`) 2. data: @@ -388,7 +388,7 @@ the `blinding` which it is handed along with the onion message. 2. data: * [`...*byte`:`enctlv`] -1. tlvs: `encmsg_tlvs` +1. `tlv_stream`: `encmsg_tlvs` 2. types: 1. type: 1 (`padding`) 2. data: