From 56ba359dec7026aa7f27bfc2816234451ffe0564 Mon Sep 17 00:00:00 2001 From: Daira Emma Hopwood Date: Mon, 9 Oct 2023 17:14:59 +0100 Subject: [PATCH] Update error messages that referred to the fetch-params script. Signed-off-by: Daira Emma Hopwood --- zcash_client_backend/src/data_api/wallet.rs | 2 +- zcash_client_sqlite/src/wallet/sapling.rs | 2 +- zcash_proofs/src/prover.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zcash_client_backend/src/data_api/wallet.rs b/zcash_client_backend/src/data_api/wallet.rs index 0d1adda6fe..7c32422838 100644 --- a/zcash_client_backend/src/data_api/wallet.rs +++ b/zcash_client_backend/src/data_api/wallet.rs @@ -156,7 +156,7 @@ where /// let tx_prover = match LocalTxProver::with_default_location() { /// Some(tx_prover) => tx_prover, /// None => { -/// panic!("Cannot locate the Zcash parameters. Please run zcash-fetch-params or fetch-params.sh to download the parameters, and then re-run the tests."); +/// panic!("Cannot locate the Zcash parameters. Please copy sapling-spend.params and sapling-output.params into the default location."); /// } /// }; /// diff --git a/zcash_client_sqlite/src/wallet/sapling.rs b/zcash_client_sqlite/src/wallet/sapling.rs index 6bf84cf007..46e16feff6 100644 --- a/zcash_client_sqlite/src/wallet/sapling.rs +++ b/zcash_client_sqlite/src/wallet/sapling.rs @@ -494,7 +494,7 @@ pub(crate) mod tests { match LocalTxProver::with_default_location() { Some(tx_prover) => tx_prover, None => { - panic!("Cannot locate the Zcash parameters. Please run zcash-fetch-params or fetch-params.sh to download the parameters, and then re-run the tests."); + panic!("Cannot locate the Zcash parameters. Please copy sapling-spend.params and sapling-output.params into the default location and then re-run the tests."); } } } diff --git a/zcash_proofs/src/prover.rs b/zcash_proofs/src/prover.rs index 3ddbcfcd4a..2d1f946897 100644 --- a/zcash_proofs/src/prover.rs +++ b/zcash_proofs/src/prover.rs @@ -99,7 +99,7 @@ impl LocalTxProver { /// /// match LocalTxProver::with_default_location() { /// Some(tx_prover) => (), - /// None => println!("Please run zcash-fetch-params or fetch-params.sh to download the parameters."), + /// None => println!("Cannot locate the Zcash parameters. Please copy sapling-spend.params and sapling-output.params into the default location."), /// } /// ``` ///