@@ -237,7 +237,7 @@ fn static_invoice_unknown_required_features() {
237237 let amt_msat = 5000 ;
238238 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
239239 nodes[ 0 ]
240- . node
240+ . offers_handler
241241 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 0 ) , None )
242242 . unwrap ( ) ;
243243
@@ -297,7 +297,7 @@ fn ignore_unexpected_static_invoice() {
297297 let amt_msat = 5000 ;
298298 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
299299 nodes[ 0 ]
300- . node
300+ . offers_handler
301301 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 0 ) , None )
302302 . unwrap ( ) ;
303303
@@ -414,7 +414,7 @@ fn async_receive_flow_success() {
414414 let amt_msat = 5000 ;
415415 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
416416 nodes[ 0 ]
417- . node
417+ . offers_handler
418418 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 0 ) , None )
419419 . unwrap ( ) ;
420420 let release_held_htlc_om =
@@ -462,7 +462,7 @@ fn expired_static_invoice_fail() {
462462 let amt_msat = 5000 ;
463463 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
464464 nodes[ 0 ]
465- . node
465+ . offers_handler
466466 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 0 ) , None )
467467 . unwrap ( ) ;
468468
@@ -545,7 +545,7 @@ fn async_receive_mpp() {
545545 let amt_msat = 15_000_000 ;
546546 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
547547 nodes[ 0 ]
548- . node
548+ . offers_handler
549549 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 1 ) , None )
550550 . unwrap ( ) ;
551551 let release_held_htlc_om_3_0 =
@@ -629,7 +629,7 @@ fn amount_doesnt_match_invreq() {
629629 let amt_msat = 5000 ;
630630 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
631631 nodes[ 0 ]
632- . node
632+ . offers_handler
633633 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 1 ) , None )
634634 . unwrap ( ) ;
635635 let release_held_htlc_om_3_0 =
@@ -858,7 +858,7 @@ fn invalid_async_receive_with_retry<F1, F2>(
858858 * nodes[ 0 ] . keys_manager . override_random_bytes . lock ( ) . unwrap ( ) = Some ( hardcoded_random_bytes) ;
859859
860860 nodes[ 0 ]
861- . node
861+ . offers_handler
862862 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 2 ) , None )
863863 . unwrap ( ) ;
864864 let release_held_htlc_om_2_0 =
@@ -947,7 +947,7 @@ fn expired_static_invoice_message_path() {
947947 let amt_msat = 5000 ;
948948 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
949949 nodes[ 0 ]
950- . node
950+ . offers_handler
951951 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 1 ) , None )
952952 . unwrap ( ) ;
953953
@@ -1051,7 +1051,7 @@ fn expired_static_invoice_payment_path() {
10511051 let amt_msat = 5000 ;
10521052 let payment_id = PaymentId ( [ 1 ; 32 ] ) ;
10531053 nodes[ 0 ]
1054- . node
1054+ . offers_handler
10551055 . pay_for_offer ( & offer, None , Some ( amt_msat) , None , payment_id, Retry :: Attempts ( 0 ) , None )
10561056 . unwrap ( ) ;
10571057 let release_held_htlc_om =
0 commit comments