Skip to content

Commit 44e87b8

Browse files
Merge pull request #2693 from Evanfeenstra/next-hop-pubkey-secp-mode
next_hop_pubkey secp Verification only
2 parents b6f3d0a + c70961e commit 44e87b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/onion_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub(super) fn gen_pad_from_shared_secret(shared_secret: &[u8]) -> [u8; 32] {
9393
}
9494

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

0 commit comments

Comments
 (0)