Make function signatures conform to assignment

This commit is contained in:
Your Name
2025-04-25 10:51:08 -04:00
parent 44c9eb4785
commit 70da422938
3 changed files with 9 additions and 9 deletions
+2 -3
View File
@@ -6,8 +6,6 @@ mod tests {
use rand::rngs::OsRng;
#[test]
fn test_scalar_comparison_via_circuit() {
let circuit = Circuit::compare_n_bit_numbers(256);
for _ in 0..100 {
let a = Scalar::random(&mut OsRng);
let b = Scalar::random(&mut OsRng);
@@ -22,7 +20,8 @@ mod tests {
input_bits.extend_from_slice(&b_bits);
// Evaluate the comparison circuit
let circuit_result = circuit.clone().eval(input_bits);
let circuit = Circuit::compare_n_bit_numbers(256, input_bits);
let circuit_result = circuit.clone().eval();
// Compare expected result using BigUint
let a_int = BigUint::from_bytes_le(&a.to_bytes());