@@ -88,7 +88,7 @@ pub fn blinded_payment_path(
8888
8989 let mut secp_ctx = Secp256k1 :: new ( ) ;
9090 BlindedPaymentPath :: new (
91- & intermediate_nodes[ ..] , * node_ids. last ( ) . unwrap ( ) , payee_tlvs,
91+ & intermediate_nodes[ ..] , None , * node_ids. last ( ) . unwrap ( ) , payee_tlvs,
9292 intro_node_max_htlc_opt. unwrap_or_else ( || channel_upds. last ( ) . unwrap ( ) . htlc_maximum_msat ) ,
9393 TEST_FINAL_CLTV as u16 , keys_manager, & secp_ctx
9494 ) . unwrap ( )
@@ -173,7 +173,7 @@ fn do_one_hop_blinded_path(success: bool) {
173173
174174 let mut secp_ctx = Secp256k1 :: new ( ) ;
175175 let blinded_path = BlindedPaymentPath :: new (
176- & [ ] , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
176+ & [ ] , None , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
177177 & chanmon_cfgs[ 1 ] . keys_manager , & secp_ctx
178178 ) . unwrap ( ) ;
179179
@@ -225,7 +225,7 @@ fn mpp_to_one_hop_blinded_path() {
225225 let expanded_key = chanmon_cfgs[ 3 ] . keys_manager . get_inbound_payment_key ( ) ;
226226 let payee_tlvs = payee_tlvs. authenticate ( nonce, & expanded_key) ;
227227 let blinded_path = BlindedPaymentPath :: new (
228- & [ ] , nodes[ 3 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
228+ & [ ] , None , nodes[ 3 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
229229 & chanmon_cfgs[ 3 ] . keys_manager , & secp_ctx
230230 ) . unwrap ( ) ;
231231
@@ -1328,7 +1328,7 @@ fn custom_tlvs_to_blinded_path() {
13281328 let payee_tlvs = payee_tlvs. authenticate ( nonce, & expanded_key) ;
13291329 let mut secp_ctx = Secp256k1 :: new ( ) ;
13301330 let blinded_path = BlindedPaymentPath :: new (
1331- & [ ] , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
1331+ & [ ] , None , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
13321332 & chanmon_cfgs[ 1 ] . keys_manager , & secp_ctx
13331333 ) . unwrap ( ) ;
13341334
@@ -1383,7 +1383,7 @@ fn fails_receive_tlvs_authentication() {
13831383
13841384 let mut secp_ctx = Secp256k1 :: new ( ) ;
13851385 let blinded_path = BlindedPaymentPath :: new (
1386- & [ ] , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
1386+ & [ ] , None , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
13871387 & chanmon_cfgs[ 1 ] . keys_manager , & secp_ctx
13881388 ) . unwrap ( ) ;
13891389
@@ -1414,7 +1414,7 @@ fn fails_receive_tlvs_authentication() {
14141414
14151415 let mut secp_ctx = Secp256k1 :: new ( ) ;
14161416 let blinded_path = BlindedPaymentPath :: new (
1417- & [ ] , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
1417+ & [ ] , None , nodes[ 1 ] . node . get_our_node_id ( ) , payee_tlvs, u64:: MAX , TEST_FINAL_CLTV as u16 ,
14181418 & chanmon_cfgs[ 1 ] . keys_manager , & secp_ctx
14191419 ) . unwrap ( ) ;
14201420
0 commit comments