mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
98d2dc2d4c
We don't need to patch it in anymore, now it's merged. However, we do move the message itself from onion_wire.csv to peer_wire.csv (we should get more sophisticated with our parsing, but this works for now!). The resulting peer_wire.csv is identical, the onion_wire.csv file is slightly reordered. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 lines
977 B
Diff
22 lines
977 B
Diff
We can't handle nested tlvs yet, so make these byte arrays.
|
|
|
|
diff --git b/wire/onion_wire.csv a/wire/onion_wire.csv
|
|
index 5c52fe9a1..2ac0c4cff 100644
|
|
--- b/wire/onion_wire.csv
|
|
+++ a/wire/onion_wire.csv
|
|
@@ -51,11 +29,11 @@ tlvdata,onionmsg_tlv,reply_path,path,onionmsg_path,...
|
|
tlvtype,onionmsg_tlv,encrypted_data_tlv,4
|
|
tlvdata,onionmsg_tlv,encrypted_data_tlv,encrypted_data_tlv,byte,...
|
|
tlvtype,onionmsg_tlv,invoice_request,64
|
|
-tlvdata,onionmsg_tlv,invoice_request,invoice_request,tlv_invoice_request,
|
|
+tlvdata,onionmsg_tlv,invoice_request,invoice_request,byte,...
|
|
tlvtype,onionmsg_tlv,invoice,66
|
|
-tlvdata,onionmsg_tlv,invoice,invoice,tlv_invoice,
|
|
+tlvdata,onionmsg_tlv,invoice,invoice,byte,...
|
|
tlvtype,onionmsg_tlv,invoice_error,68
|
|
-tlvdata,onionmsg_tlv,invoice_error,invoice_error,tlv_invoice_error,
|
|
+tlvdata,onionmsg_tlv,invoice_error,invoice_error,byte,...
|
|
subtype,blinded_path
|
|
subtypedata,blinded_path,first_node_id,point,
|
|
subtypedata,blinded_path,blinding,point,
|