diff --git a/tinysnark/src/arith.rs b/tinysnark/src/arith.rs index 31d7815..c4f52e1 100644 --- a/tinysnark/src/arith.rs +++ b/tinysnark/src/arith.rs @@ -38,7 +38,7 @@ impl FieldT { #[cfg(test)] pub fn debug_equal(&self, is: [u8; 32]) -> bool { - &FieldT(is) == self + &FieldT(is, []) == self } }