@@ -567,7 +567,7 @@ fn creates_and_pays_for_offer_using_two_hop_blinded_path() {
567
567
human_readable_name : None ,
568
568
} ,
569
569
} ) ;
570
- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
570
+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
571
571
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
572
572
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
573
573
@@ -728,7 +728,7 @@ fn creates_and_pays_for_offer_using_one_hop_blinded_path() {
728
728
human_readable_name : None ,
729
729
} ,
730
730
} ) ;
731
- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
731
+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
732
732
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , bob_id) ;
733
733
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
734
734
@@ -1117,7 +1117,7 @@ fn creates_and_pays_for_offer_with_retry() {
1117
1117
human_readable_name : None ,
1118
1118
} ,
1119
1119
} ) ;
1120
- assert_eq ! ( invoice_request. amount_msats( ) , None ) ;
1120
+ assert_eq ! ( invoice_request. amount_msats( ) , Some ( 10_000_000 ) ) ;
1121
1121
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , bob_id) ;
1122
1122
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( bob_id) ) ;
1123
1123
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() {
1412
1412
alice. onion_messenger . handle_onion_message ( david_id, & onion_message) ;
1413
1413
1414
1414
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 ) ) ;
1416
1416
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
1417
1417
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
1418
1418
@@ -1442,7 +1442,7 @@ fn fails_authentication_when_handling_invoice_request() {
1442
1442
alice. onion_messenger . handle_onion_message ( bob_id, & onion_message) ;
1443
1443
1444
1444
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 ) ) ;
1446
1446
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
1447
1447
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
1448
1448
@@ -1544,7 +1544,7 @@ fn fails_authentication_when_handling_invoice_for_offer() {
1544
1544
alice. onion_messenger . handle_onion_message ( bob_id, & onion_message) ;
1545
1545
1546
1546
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 ) ) ;
1548
1548
assert_ne ! ( invoice_request. payer_signing_pubkey( ) , david_id) ;
1549
1549
assert_eq ! ( reply_path. introduction_node( ) , & IntroductionNode :: NodeId ( charlie_id) ) ;
1550
1550
0 commit comments