We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2242f6 commit c70961eCopy full SHA for c70961e
lightning/src/ln/onion_utils.rs
@@ -93,7 +93,7 @@ pub(super) fn gen_pad_from_shared_secret(shared_secret: &[u8]) -> [u8; 32] {
93
}
94
95
/// 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>(
+pub(crate) fn next_hop_pubkey<T: secp256k1::Verification>(
97
secp_ctx: &Secp256k1<T>, curr_pubkey: PublicKey, shared_secret: &[u8]
98
) -> Result<PublicKey, secp256k1::Error> {
99
let blinding_factor = {
0 commit comments