@@ -551,7 +551,7 @@ impl_tuple_satisfier!(A, B, C, D, E, F);
551551impl_tuple_satisfier ! ( A , B , C , D , E , F , G ) ;
552552impl_tuple_satisfier ! ( A , B , C , D , E , F , G , H ) ;
553553
554- #[ derive( Debug , Clone , PartialEq , Eq ) ]
554+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
555555/// Type of schnorr signature to produce
556556pub enum SchnorrSigType {
557557 /// Key spend signature
@@ -566,7 +566,7 @@ pub enum SchnorrSigType {
566566 } ,
567567}
568568
569- #[ derive( Debug , Clone , PartialEq , Eq ) ]
569+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
570570/// Placeholder for some data in a [`Plan`]
571571///
572572/// [`Plan`]: crate::plan::Plan
@@ -697,7 +697,7 @@ impl<Pk: MiniscriptKey + ToPublicKey> Placeholder<Pk> {
697697}
698698
699699/// A witness, if available, for a Miniscript fragment
700- #[ derive( Clone , PartialEq , Eq , Debug ) ]
700+ #[ derive( Clone , PartialEq , Eq , Debug , Hash ) ]
701701pub enum Witness < T > {
702702 /// Witness Available and the value of the witness
703703 Stack ( Vec < T > ) ,
@@ -874,7 +874,7 @@ impl<Pk: MiniscriptKey> Witness<Placeholder<Pk>> {
874874}
875875
876876/// A (dis)satisfaction of a Miniscript fragment
877- #[ derive( Clone , PartialEq , Eq , Debug ) ]
877+ #[ derive( Clone , PartialEq , Eq , Debug , Hash ) ]
878878pub struct Satisfaction < T > {
879879 /// The actual witness stack
880880 pub stack : Witness < T > ,
0 commit comments