mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-01 08:12:14 +00:00
Update zcash_proofs/src/lib.rs
Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
parent
d480a3840a
commit
6845154d88
@ -84,7 +84,7 @@ pub fn load_parameters(
|
||||
panic!("Sapling output parameter file is not correct, please clean your `~/.zcash-params/` and re-run `fetch-params`.");
|
||||
}
|
||||
|
||||
if sprout_fs.map(|fs| fs.into_hash()) != Some(SPROUT_HASH.to_owned()) {
|
||||
if sprout_fs.map(|fs| fs.into_hash() != SPROUT_HASH).unwrap_or(false) {
|
||||
panic!("Sprout groth16 parameter file is not correct, please clean your `~/.zcash-params/` and re-run `fetch-params`.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user