From 6c24c0697fe9eea96614dd13f44197de72943af2 Mon Sep 17 00:00:00 2001 From: howardwu Date: Thu, 3 Sep 2020 02:54:43 -0700 Subject: [PATCH] Update span message --- leo/commands/build.rs | 2 +- leo/commands/prove.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/leo/commands/build.rs b/leo/commands/build.rs index 399a67141c..95c1f0e5ed 100644 --- a/leo/commands/build.rs +++ b/leo/commands/build.rs @@ -56,7 +56,7 @@ impl CLI for BuildCommand { #[cfg_attr(tarpaulin, skip)] fn output(_options: Self::Options) -> Result { // Begin "Compiling" context for console logging - let span = tracing::span!(tracing::Level::INFO, "Compiler"); + let span = tracing::span!(tracing::Level::INFO, "Compiling"); let enter = span.enter(); let path = current_dir()?; diff --git a/leo/commands/prove.rs b/leo/commands/prove.rs index 7c6ff69c60..a56e8f4759 100644 --- a/leo/commands/prove.rs +++ b/leo/commands/prove.rs @@ -48,8 +48,8 @@ impl CLI for ProveCommand { fn output(options: Self::Options) -> Result { let (program, parameters, prepared_verifying_key) = SetupCommand::output(options)?; - // Begin "Prover" context for console logging - let span = tracing::span!(tracing::Level::INFO, "Prover"); + // Begin "Proving" context for console logging + let span = tracing::span!(tracing::Level::INFO, "Proving"); let enter = span.enter(); // Get the package name @@ -72,7 +72,7 @@ impl CLI for ProveCommand { program_proof.write(&mut proof)?; ProofFile::new(&package_name).write_to(&path, &proof)?; - // Drop "Prover" context for console logging + // Drop "Proving" context for console logging drop(enter); // Begin "Done" context for console logging