@@ -68,7 +68,7 @@ pub struct KeyMaterial(pub [u8; 32]);
68
68
/// Information about a spendable output to a P2WSH script.
69
69
///
70
70
/// See [`SpendableOutputDescriptor::DelayedPaymentOutput`] for more details on how to spend this.
71
- #[ derive( Clone , Debug , PartialEq , Eq ) ]
71
+ #[ derive( Clone , Debug , Hash , PartialEq , Eq ) ]
72
72
pub struct DelayedPaymentOutputDescriptor {
73
73
/// The outpoint which is spendable.
74
74
pub outpoint : OutPoint ,
@@ -110,7 +110,7 @@ impl_writeable_tlv_based!(DelayedPaymentOutputDescriptor, {
110
110
/// Information about a spendable output to our "payment key".
111
111
///
112
112
/// See [`SpendableOutputDescriptor::StaticPaymentOutput`] for more details on how to spend this.
113
- #[ derive( Clone , Debug , PartialEq , Eq ) ]
113
+ #[ derive( Clone , Debug , Hash , PartialEq , Eq ) ]
114
114
pub struct StaticPaymentOutputDescriptor {
115
115
/// The outpoint which is spendable.
116
116
pub outpoint : OutPoint ,
@@ -146,7 +146,7 @@ impl_writeable_tlv_based!(StaticPaymentOutputDescriptor, {
146
146
/// at that `txid`/`index`, and any keys or other information required to sign.
147
147
///
148
148
/// [`SpendableOutputs`]: crate::events::Event::SpendableOutputs
149
- #[ derive( Clone , Debug , PartialEq , Eq ) ]
149
+ #[ derive( Clone , Debug , Hash , PartialEq , Eq ) ]
150
150
pub enum SpendableOutputDescriptor {
151
151
/// An output to a script which was provided via [`SignerProvider`] directly, either from
152
152
/// [`get_destination_script`] or [`get_shutdown_scriptpubkey`], thus you should already
0 commit comments