From aeebcdc5ef3454a2b896bed7ac6e9e4b37bf9c09 Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Tue, 16 Jan 2024 11:35:05 +0530 Subject: [PATCH] chore: update terminal output to explain verifyinclusionproof --- src/sample.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sample.rs b/src/sample.rs index 71a1964..6e7b927 100644 --- a/src/sample.rs +++ b/src/sample.rs @@ -274,7 +274,7 @@ fn cli() -> Command { .subcommand( Command::new("verifyinclusionproof") .help_template(APPLET_TEMPLATE) - .about("Verify inclusion proof"), + .about("Verifies whether the most recent Merkle root from Mainstay includes the last commitment sent (the last event generated by Civkit) or not"), ) } @@ -471,7 +471,7 @@ async fn respond( } } Some(("verifyinclusionproof", matches)) => { - println!("verifyinclusionproof"); + println!("verifyinclusionproof: Verifies whether the most recent Merkle root from Mainstay includes the last commitment sent (the last event generated by Civkit) or not"); let request = tonic::Request::new(civkitservice::VerifyInclusionProofRequest {});