We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d467d54 commit 1067709Copy full SHA for 1067709
lightning/src/ln/channelmanager.rs
@@ -10058,9 +10058,9 @@ where
10058
).map_err(|()| Bolt12SemanticError::MissingPaths)?;
10059
10060
let nonce = Nonce::from_entropy_source(entropy);
10061
- let hmac = offer.id().hmac_for_static_invoice(nonce, expanded_key);
+ let hmac = signer::hmac_for_held_htlc_available_context(nonce, expanded_key);
10062
let context = MessageContext::AsyncPayments(
10063
- AsyncPaymentsContext::InboundPayment { offer_id: offer.id(), nonce, hmac }
+ AsyncPaymentsContext::InboundPayment { nonce, hmac }
10064
);
10065
let async_receive_message_paths = self.create_blinded_paths(context)
10066
.map_err(|()| Bolt12SemanticError::MissingPaths)?;
0 commit comments