File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1529,7 +1529,8 @@ fn ignore_unexpected_static_invoice() {
1529
1529
let invreq_om = nodes[ 0 ] . onion_messenger . next_onion_message_for_peer ( nodes[ 1 ] . node . get_our_node_id ( ) ) . unwrap ( ) ;
1530
1530
let invreq_reply_path = extract_invoice_request_reply_path ( & nodes[ 1 ] , & invreq_om) ;
1531
1531
1532
- // Create a static invoice with the same payment_id but corresponding to a different offer.
1532
+ // Create a static invoice to be sent over the reply path containing the original payment_id, but
1533
+ // the static invoice corresponds to a different offer than was originally paid.
1533
1534
let unexpected_static_invoice = {
1534
1535
let ( offer_builder, nonce) = nodes[ 2 ] . node . create_async_receive_offer_builder ( blinded_paths_to_always_online_node) . unwrap ( ) ;
1535
1536
let sender_unintended_offer = offer_builder. build ( ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments