Skip to content

Commit ac69d09

Browse files
f clarify comment
1 parent aeff712 commit ac69d09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/blinded_payment_tests.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,8 @@ fn ignore_unexpected_static_invoice() {
15291529
let invreq_om = nodes[0].onion_messenger.next_onion_message_for_peer(nodes[1].node.get_our_node_id()).unwrap();
15301530
let invreq_reply_path = extract_invoice_request_reply_path(&nodes[1], &invreq_om);
15311531

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.
15331534
let unexpected_static_invoice = {
15341535
let (offer_builder, nonce) = nodes[2].node.create_async_receive_offer_builder(blinded_paths_to_always_online_node).unwrap();
15351536
let sender_unintended_offer = offer_builder.build().unwrap();

0 commit comments

Comments
 (0)