Skip to content

Commit 0d68994

Browse files
f no offer id in held htlc message context
1 parent 1c9bd78 commit 0d68994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9624,9 +9624,9 @@ where
96249624
).map_err(|()| Bolt12SemanticError::MissingPaths)?;
96259625

96269626
let nonce = Nonce::from_entropy_source(entropy);
9627-
let hmac = offer.id().hmac_for_static_invoice(nonce, expanded_key);
9627+
let hmac = signer::hmac_for_held_htlc_available_context(nonce, expanded_key);
96289628
let context = MessageContext::AsyncPayments(
9629-
AsyncPaymentsContext::InboundPayment { offer_id: offer.id(), nonce, hmac }
9629+
AsyncPaymentsContext::InboundPayment { nonce, hmac }
96309630
);
96319631
let async_receive_message_paths = self.create_blinded_paths(context)
96329632
.map_err(|()| Bolt12SemanticError::MissingPaths)?;

0 commit comments

Comments
 (0)