From 2ed2a29a1beef3812ea88c427888e3cfaeb5460b Mon Sep 17 00:00:00 2001 From: lovesh Date: Mon, 2 Oct 2023 17:32:32 +0530 Subject: [PATCH] Formatting Signed-off-by: lovesh --- proof_system/tests/bound_check_smc.rs | 6 ++---- proof_system/tests/bound_check_smc_with_kv.rs | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/proof_system/tests/bound_check_smc.rs b/proof_system/tests/bound_check_smc.rs index d01b6941..13017a7c 100644 --- a/proof_system/tests/bound_check_smc.rs +++ b/proof_system/tests/bound_check_smc.rs @@ -31,10 +31,8 @@ fn pok_of_bbs_plus_sig_and_bounded_message_using_set_membership_check_range_proo let sig_params = SignatureParamsG1::::generate_using_rng(&mut rng, msg_count); let sig_keypair = KeypairG2::::generate_using_rng(&mut rng, &sig_params); - let (smc_setup_params, _) = SmcParamsAndCommitmentKey::new::<_, Blake2b512>( - &mut rng, b"test", - 2, - ); + let (smc_setup_params, _) = + SmcParamsAndCommitmentKey::new::<_, Blake2b512>(&mut rng, b"test", 2); smc_setup_params.verify().unwrap(); fn check( diff --git a/proof_system/tests/bound_check_smc_with_kv.rs b/proof_system/tests/bound_check_smc_with_kv.rs index 85da5ecc..e20dd9ce 100644 --- a/proof_system/tests/bound_check_smc_with_kv.rs +++ b/proof_system/tests/bound_check_smc_with_kv.rs @@ -38,10 +38,8 @@ fn pok_of_bbs_plus_sig_and_bounded_message_using_set_membership_check_range_proo let sig_params = SignatureParamsG1::::generate_using_rng(&mut rng, msg_count); let sig_keypair = KeypairG2::::generate_using_rng(&mut rng, &sig_params); - let (smc_setup_params, sk) = SmcParamsAndCommitmentKey::new::<_, Blake2b512>( - &mut rng, b"test", - 2, - ); + let (smc_setup_params, sk) = + SmcParamsAndCommitmentKey::new::<_, Blake2b512>(&mut rng, b"test", 2); smc_setup_params.verify().unwrap(); let smc_setup_params_with_sk = SmcParamsAndCommitmentKeyAndSecretKey { params_and_comm_key: smc_setup_params.clone(),