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 b08086e commit 25e562bCopy full SHA for 25e562b
lightning/src/ln/channelmanager.rs
@@ -10928,7 +10928,7 @@ where
10928
10929
match response {
10930
Ok(invoice) => {
10931
- let nonce = nonce.unwrap_or_else(|| Nonce::from_entropy_source(&*self.entropy_source));
+ let nonce = Nonce::from_entropy_source(&*self.entropy_source);
10932
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)))
0 commit comments