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 Jul 11, 2024
1 parent 51f5a09 commit adcf7ad
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 adcf7ad

Please sign in to comment.