Add standard derives to TweakedPublickKey
All new types in `rust-bitcoin` should use our standard set of derives. Add said standard derives to `TweakedPublickKey`.
This commit is contained in:
parent
9c015d9ce3
commit
402bd993b2
|
@ -26,6 +26,7 @@ use util::taproot::{TapBranchHash, TapTweakHash};
|
||||||
pub type UntweakedPublicKey = PublicKey;
|
pub type UntweakedPublicKey = PublicKey;
|
||||||
|
|
||||||
/// Tweaked Schnorr public key
|
/// Tweaked Schnorr public key
|
||||||
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
pub struct TweakedPublicKey(PublicKey);
|
pub struct TweakedPublicKey(PublicKey);
|
||||||
|
|
||||||
/// A trait for tweaking Schnorr public keys
|
/// A trait for tweaking Schnorr public keys
|
||||||
|
|
Loading…
Reference in New Issue