diff --git a/zcash_proofs/src/lib.rs b/zcash_proofs/src/lib.rs index f492dd5fb1..c708bd24e6 100644 --- a/zcash_proofs/src/lib.rs +++ b/zcash_proofs/src/lib.rs @@ -289,6 +289,7 @@ pub struct ZcashParameters { /// Load the specified parameters, checking the sizes and hashes of the files. /// /// Returns the loaded parameters. +#[cfg(any(feature = "local-prover", feature = "download-params"))] pub fn load_parameters( spend_path: &Path, output_path: &Path,