We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9bd78 commit 0d68994Copy full SHA for 0d68994
lightning/src/ln/channelmanager.rs
@@ -9624,9 +9624,9 @@ where
9624
).map_err(|()| Bolt12SemanticError::MissingPaths)?;
9625
9626
let nonce = Nonce::from_entropy_source(entropy);
9627
- let hmac = offer.id().hmac_for_static_invoice(nonce, expanded_key);
+ let hmac = signer::hmac_for_held_htlc_available_context(nonce, expanded_key);
9628
let context = MessageContext::AsyncPayments(
9629
- AsyncPaymentsContext::InboundPayment { offer_id: offer.id(), nonce, hmac }
+ AsyncPaymentsContext::InboundPayment { nonce, hmac }
9630
);
9631
let async_receive_message_paths = self.create_blinded_paths(context)
9632
.map_err(|()| Bolt12SemanticError::MissingPaths)?;
0 commit comments