Skip to content

Commit

Permalink
f clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Dec 6, 2024
1 parent aeff712 commit ac69d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lightning/src/ln/blinded_payment_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,8 @@ fn ignore_unexpected_static_invoice() {
let invreq_om = nodes[0].onion_messenger.next_onion_message_for_peer(nodes[1].node.get_our_node_id()).unwrap();
let invreq_reply_path = extract_invoice_request_reply_path(&nodes[1], &invreq_om);

// Create a static invoice with the same payment_id but corresponding to a different offer.
// Create a static invoice to be sent over the reply path containing the original payment_id, but
// the static invoice corresponds to a different offer than was originally paid.
let unexpected_static_invoice = {
let (offer_builder, nonce) = nodes[2].node.create_async_receive_offer_builder(blinded_paths_to_always_online_node).unwrap();
let sender_unintended_offer = offer_builder.build().unwrap();
Expand Down

0 comments on commit ac69d09

Please sign in to comment.