Merge pull request #2722 from benthecarman/dust-overflow
[rust-lightning] / lightning / src / ln / onion_utils.rs
index 63abdc59b487554c79afdf43c472598271d6ae94..e952bd8e2e125c5d8c16ef6f8419e1c8a2579ba0 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 = {