@@ -551,7 +551,7 @@ impl_tuple_satisfier!(A, B, C, D, E, F);
551
551
impl_tuple_satisfier ! ( A , B , C , D , E , F , G ) ;
552
552
impl_tuple_satisfier ! ( A , B , C , D , E , F , G , H ) ;
553
553
554
- #[ derive( Debug , Clone , PartialEq , Eq ) ]
554
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
555
555
/// Type of schnorr signature to produce
556
556
pub enum SchnorrSigType {
557
557
/// Key spend signature
@@ -566,7 +566,7 @@ pub enum SchnorrSigType {
566
566
} ,
567
567
}
568
568
569
- #[ derive( Debug , Clone , PartialEq , Eq ) ]
569
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
570
570
/// Placeholder for some data in a [`Plan`]
571
571
///
572
572
/// [`Plan`]: crate::plan::Plan
@@ -697,7 +697,7 @@ impl<Pk: MiniscriptKey + ToPublicKey> Placeholder<Pk> {
697
697
}
698
698
699
699
/// A witness, if available, for a Miniscript fragment
700
- #[ derive( Clone , PartialEq , Eq , Debug ) ]
700
+ #[ derive( Clone , PartialEq , Eq , Debug , Hash ) ]
701
701
pub enum Witness < T > {
702
702
/// Witness Available and the value of the witness
703
703
Stack ( Vec < T > ) ,
@@ -874,7 +874,7 @@ impl<Pk: MiniscriptKey> Witness<Placeholder<Pk>> {
874
874
}
875
875
876
876
/// A (dis)satisfaction of a Miniscript fragment
877
- #[ derive( Clone , PartialEq , Eq , Debug ) ]
877
+ #[ derive( Clone , PartialEq , Eq , Debug , Hash ) ]
878
878
pub struct Satisfaction < T > {
879
879
/// The actual witness stack
880
880
pub stack : Witness < T > ,
0 commit comments