From: Evan Feenstra Date: Sat, 28 Oct 2023 15:11:21 +0000 (-0700) Subject: next_hop_pubkey secp Verification only X-Git-Tag: v0.0.119~70^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c70961e9ca848ecd00e0e3dbc72400c003e59c73;p=rust-lightning next_hop_pubkey secp Verification only --- diff --git a/lightning/src/ln/onion_utils.rs b/lightning/src/ln/onion_utils.rs index 9af3de07f..7f694565f 100644 --- a/lightning/src/ln/onion_utils.rs +++ b/lightning/src/ln/onion_utils.rs @@ -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( +pub(crate) fn next_hop_pubkey( secp_ctx: &Secp256k1, curr_pubkey: PublicKey, shared_secret: &[u8] ) -> Result { let blinding_factor = {