diff --git a/zcash_proofs/src/constants.rs b/zcash_proofs/src/constants.rs index 5727ae385..da8a19be6 100644 --- a/zcash_proofs/src/constants.rs +++ b/zcash_proofs/src/constants.rs @@ -68,7 +68,7 @@ lazy_static! { /// Creates the 3-bit window table `[0, 1, ..., 8]` for different magnitudes of a fixed /// generator. -fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned { +pub fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned { let mut windows = vec![]; for _ in 0..FIXED_BASE_CHUNKS_PER_GENERATOR { diff --git a/zcash_proofs/src/lib.rs b/zcash_proofs/src/lib.rs index 6d0476c57..157643079 100644 --- a/zcash_proofs/src/lib.rs +++ b/zcash_proofs/src/lib.rs @@ -19,7 +19,7 @@ use directories::BaseDirs; use std::path::PathBuf; pub mod circuit; -mod constants; +pub mod constants; mod hashreader; pub mod sapling; pub mod sprout;