Skip to content

Commit

Permalink
f actually use different hmac input
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Sep 6, 2024
1 parent b9550b3 commit 07e3216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/offers/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const WITH_ENCRYPTED_PAYMENT_ID_HMAC_INPUT: &[u8; 16] = &[4; 16];
const OFFER_PAYMENT_ID_HMAC_INPUT: &[u8; 16] = &[5; 16];
// HMAC input for a `PaymentId`. The HMAC is used in `AsyncPaymentsContext::OutboundPayment`.
#[cfg(async_payments)]
const ASYNC_PAYMENT_ID_HMAC_INPUT: &[u8; 16] = &[5; 16];
const ASYNC_PAYMENT_ID_HMAC_INPUT: &[u8; 16] = &[6; 16];

/// Message metadata which possibly is derived from [`MetadataMaterial`] such that it can be
/// verified.
Expand Down

0 comments on commit 07e3216

Please sign in to comment.