Skip to content

Commit

Permalink
Fix poseidon.rs (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-barrett authored and huitseeker committed Jan 12, 2024
1 parent 0cd6648 commit 28a9241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poseidon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ use typenum::marker_traits::Unsigned;
use typenum::*;

/// Available arities for the Poseidon hasher.
pub trait Arity<T>: ArrayLength {
pub trait Arity<T>: ArrayLength<T> {
/// Must be Arity + 1.
type ConstantsSize: ArrayLength;
type ConstantsSize: ArrayLength<T>;

fn tag() -> T;
}
Expand Down

0 comments on commit 28a9241

Please sign in to comment.