@@ -305,7 +305,7 @@ fn prefers_non_tor_nodes_in_blinded_paths() {
305305 . create_offer_builder ( None ) . unwrap ( )
306306 . amount_msats ( 10_000_000 )
307307 . build ( ) . unwrap ( ) ;
308- assert_ne ! ( offer. signing_pubkey ( ) , Some ( bob_id) ) ;
308+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( bob_id) ) ;
309309 assert ! ( !offer. paths( ) . is_empty( ) ) ;
310310 for path in offer. paths ( ) {
311311 let introduction_node_id = resolve_introduction_node ( david, & path) ;
@@ -321,7 +321,7 @@ fn prefers_non_tor_nodes_in_blinded_paths() {
321321 . create_offer_builder ( None ) . unwrap ( )
322322 . amount_msats ( 10_000_000 )
323323 . build ( ) . unwrap ( ) ;
324- assert_ne ! ( offer. signing_pubkey ( ) , Some ( bob_id) ) ;
324+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( bob_id) ) ;
325325 assert ! ( !offer. paths( ) . is_empty( ) ) ;
326326 for path in offer. paths ( ) {
327327 let introduction_node_id = resolve_introduction_node ( david, & path) ;
@@ -372,7 +372,7 @@ fn prefers_more_connected_nodes_in_blinded_paths() {
372372 . create_offer_builder ( None ) . unwrap ( )
373373 . amount_msats ( 10_000_000 )
374374 . build ( ) . unwrap ( ) ;
375- assert_ne ! ( offer. signing_pubkey ( ) , Some ( bob_id) ) ;
375+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( bob_id) ) ;
376376 assert ! ( !offer. paths( ) . is_empty( ) ) ;
377377 for path in offer. paths ( ) {
378378 let introduction_node_id = resolve_introduction_node ( david, & path) ;
@@ -541,7 +541,7 @@ fn creates_and_pays_for_offer_using_two_hop_blinded_path() {
541541 . unwrap ( )
542542 . amount_msats ( 10_000_000 )
543543 . build ( ) . unwrap ( ) ;
544- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
544+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
545545 assert ! ( !offer. paths( ) . is_empty( ) ) ;
546546 for path in offer. paths ( ) {
547547 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
@@ -709,7 +709,7 @@ fn creates_and_pays_for_offer_using_one_hop_blinded_path() {
709709 . create_offer_builder ( None ) . unwrap ( )
710710 . amount_msats ( 10_000_000 )
711711 . build ( ) . unwrap ( ) ;
712- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
712+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
713713 assert ! ( !offer. paths( ) . is_empty( ) ) ;
714714 for path in offer. paths ( ) {
715715 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( alice_id) ) ;
@@ -832,7 +832,7 @@ fn pays_for_offer_without_blinded_paths() {
832832 . clear_paths ( )
833833 . amount_msats ( 10_000_000 )
834834 . build ( ) . unwrap ( ) ;
835- assert_eq ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
835+ assert_eq ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
836836 assert ! ( offer. paths( ) . is_empty( ) ) ;
837837
838838 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
@@ -955,7 +955,7 @@ fn send_invoice_requests_with_distinct_reply_path() {
955955 . unwrap ( )
956956 . amount_msats ( 10_000_000 )
957957 . build ( ) . unwrap ( ) ;
958- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
958+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
959959 assert ! ( !offer. paths( ) . is_empty( ) ) ;
960960 for path in offer. paths ( ) {
961961 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
@@ -1090,7 +1090,7 @@ fn creates_and_pays_for_offer_with_retry() {
10901090 . create_offer_builder ( None ) . unwrap ( )
10911091 . amount_msats ( 10_000_000 )
10921092 . build ( ) . unwrap ( ) ;
1093- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
1093+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
10941094 assert ! ( !offer. paths( ) . is_empty( ) ) ;
10951095 for path in offer. paths ( ) {
10961096 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( alice_id) ) ;
@@ -1248,7 +1248,7 @@ fn creates_offer_with_blinded_path_using_unannounced_introduction_node() {
12481248 . create_offer_builder ( None ) . unwrap ( )
12491249 . amount_msats ( 10_000_000 )
12501250 . build ( ) . unwrap ( ) ;
1251- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
1251+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
12521252 assert ! ( !offer. paths( ) . is_empty( ) ) ;
12531253 for path in offer. paths ( ) {
12541254 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
@@ -1379,7 +1379,7 @@ fn fails_authentication_when_handling_invoice_request() {
13791379 . amount_msats ( 10_000_000 )
13801380 . build ( ) . unwrap ( ) ;
13811381 assert_eq ! ( offer. metadata( ) , None ) ;
1382- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
1382+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
13831383 assert ! ( !offer. paths( ) . is_empty( ) ) ;
13841384 for path in offer. paths ( ) {
13851385 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
@@ -1490,7 +1490,7 @@ fn fails_authentication_when_handling_invoice_for_offer() {
14901490 . unwrap ( )
14911491 . amount_msats ( 10_000_000 )
14921492 . build ( ) . unwrap ( ) ;
1493- assert_ne ! ( offer. signing_pubkey ( ) , Some ( alice_id) ) ;
1493+ assert_ne ! ( offer. issuer_signing_pubkey ( ) , Some ( alice_id) ) ;
14941494 assert ! ( !offer. paths( ) . is_empty( ) ) ;
14951495 for path in offer. paths ( ) {
14961496 assert_eq ! ( path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
0 commit comments