We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d38b5 commit b08086eCopy full SHA for b08086e
lightning/src/ln/channelmanager.rs
@@ -10929,7 +10929,7 @@ where
10929
match response {
10930
Ok(invoice) => {
10931
let nonce = nonce.unwrap_or_else(|| Nonce::from_entropy_source(&*self.entropy_source));
10932
- let hmac = signer::hmac_for_payment_hash(payment_hash, nonce, expanded_key);
+ let hmac = payment_hash.hmac_for_offer_payment(nonce, expanded_key);
10933
let context = MessageContext::Offers(OffersContext::InboundPayment { payment_hash, nonce, hmac });
10934
Some((OffersMessage::Invoice(invoice), responder.respond_with_reply_path(context)))
10935
},
0 commit comments