Skip to content

Commit

Permalink
Require features for the load parameters method
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Jul 29, 2022
1 parent d407b90 commit 1c7cd39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zcash_proofs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1c7cd39

Please sign in to comment.