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 Jan 3, 2024
1 parent 396e189 commit baa38a4
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 baa38a4

Please sign in to comment.