Skip to content

Commit

Permalink
Merge pull request #2693 from Evanfeenstra/next-hop-pubkey-secp-mode
Browse files Browse the repository at this point in the history
next_hop_pubkey secp Verification only
  • Loading branch information
valentinewallace authored Oct 30, 2023
2 parents b6f3d0a + c70961e commit 44e87b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/onion_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub(super) fn gen_pad_from_shared_secret(shared_secret: &[u8]) -> [u8; 32] {
}

/// Calculates a pubkey for the next hop, such as the next hop's packet pubkey or blinding point.
pub(crate) fn next_hop_pubkey<T: secp256k1::Signing + secp256k1::Verification>(
pub(crate) fn next_hop_pubkey<T: secp256k1::Verification>(
secp_ctx: &Secp256k1<T>, curr_pubkey: PublicKey, shared_secret: &[u8]
) -> Result<PublicKey, secp256k1::Error> {
let blinding_factor = {
Expand Down

0 comments on commit 44e87b8

Please sign in to comment.