Skip to content

Commit

Permalink
fix: enable util::hash::poseidon only when feature = loader_halo2 (
Browse files Browse the repository at this point in the history
  • Loading branch information
han0110 authored Feb 14, 2023
1 parent df03d89 commit f1265f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snark-verifier/src/util/hash.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
//! Hash algorithms.

#[cfg(feature = "loader_halo2")]
mod poseidon;

#[cfg(feature = "loader_halo2")]
pub use crate::util::hash::poseidon::Poseidon;

#[cfg(feature = "loader_evm")]
Expand Down

0 comments on commit f1265f5

Please sign in to comment.