Skip to content

Commit d3c4267

Browse files
committed
BOLTs: more catchup ("BOLT 4: More clarifying changes.")
Signed-off-by: Rusty Russell <[email protected]>
1 parent 65b67ac commit d3c4267

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CCANDIR := ccan
2626

2727
# Where we keep the BOLT RFCs
2828
BOLTDIR := ../bolts/
29-
DEFAULT_BOLTVERSION := 6654c5711a2765f48a31389064c04a153670d73b
29+
DEFAULT_BOLTVERSION := 22b9c874531f67ec66975dcd9f7ec42ced012933
3030
# Can be overridden on cmdline.
3131
BOLTVERSION := $(DEFAULT_BOLTVERSION)
3232

common/blindedpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ void blindedpath_next_path_key(const struct tlv_encrypted_data_tlv *enc,
243243
/* BOLT #4:
244244
* - $`E_{i+1} = SHA256(E_i || ss_i) * E_i`$
245245
* ...
246-
* - If `encrypted_data` contains a `next_path_key_override`:
246+
* - If the `encrypted_data_tlv` contains a `next_path_key_override`:
247247
* - MUST use it as the next `path_key`.
248248
* - Otherwise:
249249
* - MUST use $`E_{i+1} = SHA256(E_i || ss_i) * E_i`$ as the next `path_key`

wire/onion_wire.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tlvtype,payload,payment_data,8
99
tlvdata,payload,payment_data,payment_secret,byte,32
1010
tlvdata,payload,payment_data,total_msat,tu64,
1111
tlvtype,payload,encrypted_recipient_data,10
12-
tlvdata,payload,encrypted_recipient_data,encrypted_data,byte,...
12+
tlvdata,payload,encrypted_recipient_data,encrypted_recipient_data,byte,...
1313
tlvtype,payload,current_path_key,12
1414
tlvdata,payload,current_path_key,path_key,point,
1515
tlvtype,payload,payment_metadata,16

0 commit comments

Comments
 (0)