diff --git a/src/util/psbt/map/input.rs b/src/util/psbt/map/input.rs index 4a46b43b..a737cbdb 100644 --- a/src/util/psbt/map/input.rs +++ b/src/util/psbt/map/input.rs @@ -79,7 +79,7 @@ const PSBT_IN_PROPRIETARY: u8 = 0xFC; /// A key-value map for an input of the corresponding index in the unsigned /// transaction. -#[derive(Clone, Default, Debug, PartialEq)] +#[derive(Clone, Default, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct Input { /// The non-witness transaction this input spends from. Should only be diff --git a/src/util/psbt/map/output.rs b/src/util/psbt/map/output.rs index a77a5729..53edd2d5 100644 --- a/src/util/psbt/map/output.rs +++ b/src/util/psbt/map/output.rs @@ -47,7 +47,7 @@ const PSBT_OUT_PROPRIETARY: u8 = 0xFC; /// A key-value map for an output of the corresponding index in the unsigned /// transaction. -#[derive(Clone, Default, Debug, PartialEq)] +#[derive(Clone, Default, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct Output { /// The redeem script for this output. diff --git a/src/util/psbt/mod.rs b/src/util/psbt/mod.rs index 38e54759..989542c2 100644 --- a/src/util/psbt/mod.rs +++ b/src/util/psbt/mod.rs @@ -47,7 +47,7 @@ use self::map::Map; use util::bip32::{ExtendedPubKey, KeySource}; /// A Partially Signed Transaction. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct PartiallySignedTransaction { /// The unsigned transaction, scriptSigs and witnesses for each input must be