@@ -33,13 +33,13 @@ pub enum Error {
3333}
3434
3535/// Contribution to a voting key for some registration
36- #[ derive( Clone , Debug , PartialEq , Serialize , Deserialize ) ]
36+ #[ derive( Clone , Debug , PartialEq , Eq , Serialize , Deserialize ) ]
3737pub struct KeyContribution {
3838 pub reward_address : MainnetRewardAddress ,
3939 pub value : u64 ,
4040}
4141
42- #[ derive( Clone , Debug , PartialEq , Serialize , Deserialize ) ]
42+ #[ derive( Clone , Debug , PartialEq , Eq , Serialize , Deserialize ) ]
4343pub struct SnapshotInfo {
4444 /// The values in the contributions are the original values in the registration transactions and
4545 /// thus retain the original proportions.
@@ -49,7 +49,7 @@ pub struct SnapshotInfo {
4949 pub hir : VoterHIR ,
5050}
5151
52- #[ derive( Clone , Debug , PartialEq ) ]
52+ #[ derive( Clone , Debug , PartialEq , Eq ) ]
5353pub struct Snapshot {
5454 // a raw public key is preferred so that we don't have to worry about discrimination when deserializing from
5555 // a CIP-36 compatible encoding
0 commit comments