Skip to content

Commit

Permalink
chore: derive hash for parity (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and klkvr committed Aug 4, 2024
1 parent 5d4ef59 commit ff54195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/primitives/src/signature/parity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::{

/// The parity of the signature, stored as either a V value (which may include
/// a chain id), or the y-parity.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
#[cfg_attr(feature = "arbitrary", derive(derive_arbitrary::Arbitrary, proptest_derive::Arbitrary))]
pub enum Parity {
/// Explicit V value. May be EIP-155 modified.
Expand Down

0 comments on commit ff54195

Please sign in to comment.