From 8e730d93a473c7f22074d06be174d95b4b0ab8b9 Mon Sep 17 00:00:00 2001 From: Jordi Baylina Date: Fri, 4 Sep 2020 09:10:49 +0200 Subject: [PATCH] 64 size r1cs --- src/r1csfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/r1csfile.js b/src/r1csfile.js index c5e75f0..4a1f432 100644 --- a/src/r1csfile.js +++ b/src/r1csfile.js @@ -89,9 +89,9 @@ async function buildR1cs(ctx, fileName) { const mapSize = fd.pos - pMapSize - 8; // Write sizes - await fd.writeULE32(headerSize, pHeaderSize); - await fd.writeULE32(constraintsSize, pConstraintsSize); - await fd.writeULE32(mapSize, pMapSize); + await fd.writeULE64(headerSize, pHeaderSize); + await fd.writeULE64(constraintsSize, pConstraintsSize); + await fd.writeULE64(mapSize, pMapSize); await fd.close();