From 1c7cd39f1a21150242e2f6678a334349a4975f6d Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 29 Jul 2022 11:39:49 +1000 Subject: [PATCH] Require features for the load parameters method --- zcash_proofs/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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,