From 66076333260b50b44641fd17b940c21bd0f35b94 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 16 Nov 2021 18:47:31 -0500 Subject: [PATCH] Tidy some trait constraints and debug statements Co-authored-by: Janito Vaqueiro Ferreira Filho --- zebra-consensus/src/primitives/halo2/tests.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/zebra-consensus/src/primitives/halo2/tests.rs b/zebra-consensus/src/primitives/halo2/tests.rs index 95d0c237551..1dd99b63d20 100644 --- a/zebra-consensus/src/primitives/halo2/tests.rs +++ b/zebra-consensus/src/primitives/halo2/tests.rs @@ -110,8 +110,7 @@ async fn verify_orchard_halo2_proofs( ) -> Result<(), V::Error> where V: tower::Service, - >::Error: From, - >::Error: std::fmt::Debug, + >::Error: From + std::fmt::Debug, { let mut async_checks = FuturesUnordered::new(); @@ -160,8 +159,6 @@ async fn verify_generated_halo2_proofs() { ), ); - println!("Display: {}", Halo2Error::Other); - // This should fail if any of the proofs fail to validate. assert!(verify_orchard_halo2_proofs(&mut verifier, shielded_data) .await @@ -174,8 +171,7 @@ async fn verify_invalid_orchard_halo2_proofs( ) -> Result<(), V::Error> where V: tower::Service, - >::Error: From, - >::Error: std::fmt::Debug, + >::Error: From + std::fmt::Debug, { let mut async_checks = FuturesUnordered::new();