From 35a16b59af9a5c42e84b10454e16e93124fd98b5 Mon Sep 17 00:00:00 2001 From: Raphael Toledo Date: Mon, 10 Feb 2025 12:21:16 +0000 Subject: [PATCH] Examples/CentralizedThreshold: Fixing example --- examples/centralized_threshold.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/centralized_threshold.rs b/examples/centralized_threshold.rs index a1ab832b..9505ad18 100644 --- a/examples/centralized_threshold.rs +++ b/examples/centralized_threshold.rs @@ -137,10 +137,11 @@ impl AlbaThresholdSignature { "-- Success: Alba proof verification took {:?}µs.", time_verify_proof.elapsed().as_micros() ); + true } else { println!("Error: Alba proof verification failed."); + false } - true } else { println!("Error: Registration is not closed."); false