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 @@ -620,13 +620,13 @@ mod tests {
620620 . build ( )
621621 . unwrap ( ) ;
622622
623- let ( _offer_id, keys_opt) = offer. verify ( & expanded_key, & secp_ctx) . unwrap ( ) ;
624623 StaticInvoiceBuilder :: for_offer_using_keys (
625624 & offer,
626625 payment_paths. clone ( ) ,
627626 vec ! [ blinded_path( ) ] ,
628627 now,
629- keys_opt. unwrap ( ) ,
628+ & expanded_key,
629+ & secp_ctx,
630630 )
631631 . unwrap ( )
632632 . build_and_sign ( & secp_ctx)
@@ -960,13 +960,13 @@ mod tests {
960960 . unwrap ( ) ;
961961
962962 const TEST_RELATIVE_EXPIRY : u32 = 3600 ;
963- let ( _offer_id, keys_opt) = offer. verify ( & expanded_key, & secp_ctx) . unwrap ( ) ;
964963 let invoice = StaticInvoiceBuilder :: for_offer_using_keys (
965964 & offer,
966965 payment_paths. clone ( ) ,
967966 vec ! [ blinded_path( ) ] ,
968967 now,
969- keys_opt. unwrap ( ) ,
968+ & expanded_key,
969+ & secp_ctx,
970970 )
971971 . unwrap ( )
972972 . relative_expiry ( TEST_RELATIVE_EXPIRY )
@@ -1000,13 +1000,13 @@ mod tests {
10001000 . build ( )
10011001 . unwrap ( ) ;
10021002
1003- let ( _offer_id, keys_opt) = offer. verify ( & expanded_key, & secp_ctx) . unwrap ( ) ;
10041003 let invoice = StaticInvoiceBuilder :: for_offer_using_keys (
10051004 & offer,
10061005 payment_paths. clone ( ) ,
10071006 vec ! [ blinded_path( ) ] ,
10081007 now,
1009- keys_opt. unwrap ( ) ,
1008+ & expanded_key,
1009+ & secp_ctx,
10101010 )
10111011 . unwrap ( )
10121012 . allow_mpp ( )
You can’t perform that action at this time.
0 commit comments