next_hop_pubkey secp Verification only
authorEvan Feenstra <evanfeenstra@gmail.com>
Sat, 28 Oct 2023 15:11:21 +0000 (08:11 -0700)
committerEvan Feenstra <evanfeenstra@gmail.com>
Sat, 28 Oct 2023 15:11:21 +0000 (08:11 -0700)
lightning/src/ln/onion_utils.rs

index 9af3de07ff4e7356ac65fe2069b3ff209761156a..7f694565f325a8c73463d48d0deea4c23400a57c 100644 (file)
@@ -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 = {