From 5d49abcf6270d4e7a642bf74b90066e756beddc3 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Fri, 22 Jan 2016 21:21:40 -0700 Subject: [PATCH] Fix tinysnark test --- tinysnark/src/arith.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }