From a48c121a3c733fb29edb28bf19ae25d8a38e79ec Mon Sep 17 00:00:00 2001 From: hcotry <90833622+hcotry@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:23:34 -0700 Subject: [PATCH] fix: Hz of proved Program (#12) Signed-off-by: hcotry --- clients/cli/src/prover.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/cli/src/prover.rs b/clients/cli/src/prover.rs index 7933584..d4c51c1 100644 --- a/clients/cli/src/prover.rs +++ b/clients/cli/src/prover.rs @@ -279,13 +279,13 @@ async fn main() { proof: Some(proof::Proof::NovaBytes(buf)), })), }; - client - .send(Message::Binary(response.encode_to_vec())) - .await - .unwrap(); let duration = SystemTime::now().duration_since(start_time).unwrap(); let proof_cycles_hertz = cycles_proven * 1000 / duration.as_millis(); let proof_cycles_per_minute = cycles_proven * 60 * 1000 / duration.as_millis(); + client + .send(Message::Binary(response.encode_to_vec())) + .await + .unwrap(); track( "proof".into(), format!("Proof sent! You proved at {} Hz.", proof_cycles_hertz),