Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
Signed-off-by: lovesh <[email protected]>
  • Loading branch information
lovesh committed Oct 2, 2023
1 parent 2ed2a29 commit 6d63ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions proof_system/tests/bound_check_smc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use proof_system::{
bbs_plus::PoKBBSSignatureG1 as PoKSignatureBBSG1Stmt,
bound_check_smc::BoundCheckSmc as BoundCheckStmt,
},
sub_protocols::{bound_check_smc::BoundCheckSmcProtocol, should_use_cls},
sub_protocols::should_use_cls,
witness::PoKBBSSignatureG1 as PoKSignatureBBSG1Wit,
};

Expand Down Expand Up @@ -216,7 +216,7 @@ fn pok_of_bbs_plus_sig_and_bounded_message_using_set_membership_check_range_proo
sig.verify(&msgs, sig_keypair.public_key.clone(), sig_params.clone())
.unwrap();

let is_cls = BoundCheckSmcProtocol::<Bls12_381>::should_use_cls(min, max);
let is_cls = should_use_cls(min, max);
assert!(!is_cls);

// Check for message that is signed and satisfies the bounds
Expand Down
2 changes: 1 addition & 1 deletion proof_system/tests/bound_check_smc_with_kv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use proof_system::{
BoundCheckSmcWithKVVerifier as BoundCheckVerifierStmt,
},
},
sub_protocols::{bound_check_smc::BoundCheckSmcProtocol, should_use_cls},
sub_protocols::{should_use_cls},
witness::PoKBBSSignatureG1 as PoKSignatureBBSG1Wit,
};

Expand Down

0 comments on commit 6d63ad6

Please sign in to comment.