File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -604,13 +604,13 @@ mod tests {
604604				. build ( ) 
605605				. unwrap ( ) ; 
606606
607- 		let  ( _offer_id,  keys_opt)  = offer. verify ( & expanded_key,  & secp_ctx) . unwrap ( ) ; 
608607		StaticInvoiceBuilder :: for_offer_using_keys ( 
609608			& offer, 
610609			payment_paths. clone ( ) , 
611610			vec ! [ blinded_path( ) ] , 
612611			now, 
613- 			keys_opt. unwrap ( ) , 
612+ 			& expanded_key, 
613+ 			& secp_ctx, 
614614		) 
615615		. unwrap ( ) 
616616		. build_and_sign ( & secp_ctx) 
@@ -916,13 +916,13 @@ mod tests {
916916				. unwrap ( ) ; 
917917
918918		const  TEST_RELATIVE_EXPIRY :  u32  = 3600 ; 
919- 		let  ( _offer_id,  keys_opt)  = offer. verify ( & expanded_key,  & secp_ctx) . unwrap ( ) ; 
920919		let  invoice = StaticInvoiceBuilder :: for_offer_using_keys ( 
921920			& offer, 
922921			payment_paths. clone ( ) , 
923922			vec ! [ blinded_path( ) ] , 
924923			now, 
925- 			keys_opt. unwrap ( ) , 
924+ 			& expanded_key, 
925+ 			& secp_ctx, 
926926		) 
927927		. unwrap ( ) 
928928		. relative_expiry ( TEST_RELATIVE_EXPIRY ) 
@@ -956,13 +956,13 @@ mod tests {
956956				. build ( ) 
957957				. unwrap ( ) ; 
958958
959- 		let  ( _offer_id,  keys_opt)  = offer. verify ( & expanded_key,  & secp_ctx) . unwrap ( ) ; 
960959		let  invoice = StaticInvoiceBuilder :: for_offer_using_keys ( 
961960			& offer, 
962961			payment_paths. clone ( ) , 
963962			vec ! [ blinded_path( ) ] , 
964963			now, 
965- 			keys_opt. unwrap ( ) , 
964+ 			& expanded_key, 
965+ 			& secp_ctx, 
966966		) 
967967		. unwrap ( ) 
968968		. allow_mpp ( ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments