Skip to content

Commit c70961e

Browse files
committed
next_hop_pubkey secp Verification only
1 parent d2242f6 commit c70961e

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)