From 3b92f36c914a471d0013de05fd29be163db3c80e Mon Sep 17 00:00:00 2001 From: James Walker Crofts <20387783+sebastiandanconia@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:35:33 -0700 Subject: [PATCH] Improve clarity of an info!() message --- src/execute.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/execute.rs b/src/execute.rs index 620403617..68fa87bc9 100644 --- a/src/execute.rs +++ b/src/execute.rs @@ -677,11 +677,12 @@ pub(crate) async fn get_srs_cmd( pb.finish_with_message("SRS validated."); info!("Saving SRS to disk..."); - let mut file = std::fs::File::create(get_srs_path(k, srs_path.clone(), commitment))?; + let computed_srs_path = get_srs_path(k, srs_path.clone(), commitment); + let mut file = std::fs::File::create(&computed_srs_path)?; let mut buffer = BufWriter::with_capacity(*EZKL_BUF_CAPACITY, &mut file); params.write(&mut buffer)?; - info!("Saved SRS to disk."); + info!("Saved SRS to {}.", computed_srs_path.as_os_str().to_str().unwrap_or("disk")); info!("SRS downloaded"); } else {