diff --git a/src/util/schnorr.rs b/src/util/schnorr.rs index a7bba40f..74c97042 100644 --- a/src/util/schnorr.rs +++ b/src/util/schnorr.rs @@ -26,6 +26,7 @@ use util::taproot::{TapBranchHash, TapTweakHash}; pub type UntweakedPublicKey = PublicKey; /// Tweaked Schnorr public key +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct TweakedPublicKey(PublicKey); /// A trait for tweaking Schnorr public keys