Skip to content

Commit

Permalink
added pub keyword to poseidon hash function (#569)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Chouhy <[email protected]>
  • Loading branch information
mdvillagra and schouhy authored Sep 22, 2023
1 parent 21cc017 commit 976c237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/src/hash/poseidon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ where
}
}

fn hash(&self, inputs: &[FieldElement<F>]) -> Result<Vec<FieldElement<F>>, String>
pub fn hash(&self, inputs: &[FieldElement<F>]) -> Result<Vec<FieldElement<F>>, String>
where
F: IsField,
{
Expand Down

0 comments on commit 976c237

Please sign in to comment.