From 338281f7e66426526abd1c98332ab1b0ee1532ae Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 12 Jul 2018 12:24:13 +0100 Subject: [PATCH] ensured bitness --- src/main.cpp | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e9877d6..da44912 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,23 @@ +/* + copyright 2018 to the Miximus Authors + + This file is part of Miximus. + + Miximus is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Miximus is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Miximus. If not, see . +*/ + + #include //hash @@ -138,7 +158,7 @@ class Miximus { // generate constraints //root_digest.generate_r1cs_constraints(); unpacker->generate_r1cs_constraints(true); - unpacker1->generate_r1cs_constraints(false); + unpacker1->generate_r1cs_constraints(true); generate_r1cs_equals_const_constraint(pb, ZERO, FieldT::zero(), "ZERO"); cm_hash->generate_r1cs_constraints(true);