Skip to content

Commit

Permalink
Implement 'Eq' for 'Equivocation' struct
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Mar 7, 2023
1 parent 218cdc6 commit 3f26c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -208,7 +208,7 @@ pub trait Chain<H: Eq, N: Copy + BlockNumberOps> {
}

/// An equivocation (double-vote) in a given round.
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "derive-codec", derive(Encode, Decode, TypeInfo))]
pub struct Equivocation<Id, V, S> {
/// The round number equivocated in.
Expand Down

0 comments on commit 3f26c7a

Please sign in to comment.