@@ -232,14 +232,14 @@ int main(int argc, char *argv[])
232232 /* Random blinding secret. */
233233 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [0 ]-> first_path_key ));
234234 offer -> offer_paths [0 ]-> path = tal_arr (offer -> offer_paths [0 ],
235- struct onionmsg_hop * ,
235+ struct blinded_path_hop * ,
236236 2 );
237237 offer -> offer_paths [0 ]-> path [0 ] = tal (offer -> offer_paths [0 ]-> path ,
238- struct onionmsg_hop );
238+ struct blinded_path_hop );
239239 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [0 ]-> path [0 ]-> blinded_node_id ));
240240 offer -> offer_paths [0 ]-> path [0 ]-> encrypted_recipient_data = tal_arrz (offer -> offer_paths [0 ]-> path [0 ], u8 , 16 );
241241 offer -> offer_paths [0 ]-> path [1 ] = tal (offer -> offer_paths [0 ]-> path ,
242- struct onionmsg_hop );
242+ struct blinded_path_hop );
243243 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [0 ]-> path [1 ]-> blinded_node_id ));
244244 offer -> offer_paths [0 ]-> path [1 ]-> encrypted_recipient_data = tal_hexdata (offer -> offer_paths [0 ]-> path [1 ], "1111111111111111" , 16 );
245245 print_valid_offer (offer , "with blinded path via Bob (0x424242...), path_key 020202..." ,
@@ -266,14 +266,14 @@ int main(int argc, char *argv[])
266266 /* Random path_key secret. */
267267 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [1 ]-> first_path_key ));
268268 offer -> offer_paths [1 ]-> path = tal_arr (offer -> offer_paths [1 ],
269- struct onionmsg_hop * ,
269+ struct blinded_path_hop * ,
270270 2 );
271271 offer -> offer_paths [1 ]-> path [0 ] = tal (offer -> offer_paths [1 ]-> path ,
272- struct onionmsg_hop );
272+ struct blinded_path_hop );
273273 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [1 ]-> path [0 ]-> blinded_node_id ));
274274 offer -> offer_paths [1 ]-> path [0 ]-> encrypted_recipient_data = tal_arrz (offer -> offer_paths [1 ]-> path [0 ], u8 , 16 );
275275 offer -> offer_paths [1 ]-> path [1 ] = tal (offer -> offer_paths [1 ]-> path ,
276- struct onionmsg_hop );
276+ struct blinded_path_hop );
277277 assert (pubkey_from_hexstr ("020202020202020202020202020202020202020202020202020202020202020202" , 66 , & offer -> offer_paths [1 ]-> path [1 ]-> blinded_node_id ));
278278 offer -> offer_paths [1 ]-> path [1 ]-> encrypted_recipient_data = tal_hexdata (offer -> offer_paths [1 ]-> path [1 ], "2222222222222222" , 16 );
279279 print_valid_offer (offer , "... and with second blinded path via 1x2x3 (direction 1), path_key 020202..." ,
@@ -353,7 +353,7 @@ int main(int argc, char *argv[])
353353 "0A05414C494345"
354354 "100202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020102020202020202020202020202020202020202020202020202020202020202020201"
355355 "1621020202020202020202020202020202020202020202020202020202020202020202" ,
356- "Malformed: truncated onionmsg_hop in blinded_path" );
356+ "Malformed: truncated blinded_path_hop in blinded_path" );
357357 print_malformed_tlv ("lno" ,
358358 "0A05414C494345"
359359 "10030303030303030303030303030303030303030303030303030303030303030303020202020202020202020202020202020202020202020202020202020202020202010202020202020202020202020202020202020202020202020202020202020202020100"
@@ -368,7 +368,7 @@ int main(int argc, char *argv[])
368368 "0A05414C494345"
369369 "10020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202010303030303030303030303030303030303030303030303030303030303030303030100"
370370 "1621020202020202020202020202020202020202020202020202020202020202020202" ,
371- "Malformed: bad blinded_node_id in onionmsg_hop " );
371+ "Malformed: bad blinded_node_id in blinded_path_hop " );
372372
373373 print_malformed_tlv ("lno" ,
374374 "0A05414C494345"
0 commit comments