Skip to content

Commit 1067709

Browse files
f no offer id in held htlc message context
1 parent d467d54 commit 1067709

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10058,9 +10058,9 @@ where
1005810058
).map_err(|()| Bolt12SemanticError::MissingPaths)?;
1005910059

1006010060
let nonce = Nonce::from_entropy_source(entropy);
10061-
let hmac = offer.id().hmac_for_static_invoice(nonce, expanded_key);
10061+
let hmac = signer::hmac_for_held_htlc_available_context(nonce, expanded_key);
1006210062
let context = MessageContext::AsyncPayments(
10063-
AsyncPaymentsContext::InboundPayment { offer_id: offer.id(), nonce, hmac }
10063+
AsyncPaymentsContext::InboundPayment { nonce, hmac }
1006410064
);
1006510065
let async_receive_message_paths = self.create_blinded_paths(context)
1006610066
.map_err(|()| Bolt12SemanticError::MissingPaths)?;

0 commit comments

Comments
 (0)