From f446b45af5f1d3ea129698821348310e92e9961e Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 14 May 2020 16:06:58 +1200 Subject: [PATCH] cargo fmt --- zcash_proofs/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zcash_proofs/src/lib.rs b/zcash_proofs/src/lib.rs index 03c3efd..7faca6c 100644 --- a/zcash_proofs/src/lib.rs +++ b/zcash_proofs/src/lib.rs @@ -84,7 +84,10 @@ 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() != SPROUT_HASH).unwrap_or(false) { + 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`."); }