make fixed generator functions publicly accessible

This commit is contained in:
narodnik 2020-09-20 21:01:39 +02:00
parent 8f08723712
commit 81e3ab1c91
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ lazy_static! {
/// Creates the 3-bit window table `[0, 1, ..., 8]` for different magnitudes of a fixed /// Creates the 3-bit window table `[0, 1, ..., 8]` for different magnitudes of a fixed
/// generator. /// generator.
fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned { pub fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned {
let mut windows = vec![]; let mut windows = vec![];
for _ in 0..FIXED_BASE_CHUNKS_PER_GENERATOR { for _ in 0..FIXED_BASE_CHUNKS_PER_GENERATOR {

View File

@ -19,7 +19,7 @@ use directories::BaseDirs;
use std::path::PathBuf; use std::path::PathBuf;
pub mod circuit; pub mod circuit;
mod constants; pub mod constants;
mod hashreader; mod hashreader;
pub mod sapling; pub mod sapling;
pub mod sprout; pub mod sprout;