@@ -567,7 +567,7 @@ fn creates_and_pays_for_offer_using_two_hop_blinded_path() {
567567 human_readable_name : None ,
568568 } ,
569569 } ) ;
570- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
570+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
571571 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
572572 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
573573
@@ -728,7 +728,7 @@ fn creates_and_pays_for_offer_using_one_hop_blinded_path() {
728728 human_readable_name : None ,
729729 } ,
730730 } ) ;
731- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
731+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
732732 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , bob_id) ;
733733 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
734734
@@ -1117,7 +1117,7 @@ fn creates_and_pays_for_offer_with_retry() {
11171117 human_readable_name : None ,
11181118 } ,
11191119 } ) ;
1120- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
1120+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
11211121 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , bob_id) ;
11221122 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
11231123 let onion_message = alice. onion_messenger . next_onion_message_for_peer ( bob_id) . unwrap ( ) ;
@@ -1412,7 +1412,7 @@ fn fails_authentication_when_handling_invoice_request() {
14121412 alice. onion_messenger . handle_onion_message ( david_id, & onion_message) ;
14131413
14141414 let ( invoice_request, reply_path) = extract_invoice_request ( alice, & onion_message) ;
1415- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
1415+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
14161416 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
14171417 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
14181418
@@ -1442,7 +1442,7 @@ fn fails_authentication_when_handling_invoice_request() {
14421442 alice. onion_messenger . handle_onion_message ( bob_id, & onion_message) ;
14431443
14441444 let ( invoice_request, reply_path) = extract_invoice_request ( alice, & onion_message) ;
1445- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
1445+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
14461446 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
14471447 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
14481448
@@ -1544,7 +1544,7 @@ fn fails_authentication_when_handling_invoice_for_offer() {
15441544 alice. onion_messenger . handle_onion_message ( bob_id, & onion_message) ;
15451545
15461546 let ( invoice_request, reply_path) = extract_invoice_request ( alice, & onion_message) ;
1547- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
1547+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
15481548 assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
15491549 assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
15501550
0 commit comments