Skip to content

Commit

Permalink
BOLT 4: modernize tlv labels so extract-formats.py can find them.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Aug 26, 2021
1 parent 4817583 commit a6ebdef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 04-onion-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit a6ebdef

Please sign in to comment.