Browse Source

64 size r1cs

master
Jordi Baylina 4 years ago
parent
commit
8e730d93a4
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/r1csfile.js

+ 3
- 3
src/r1csfile.js

@ -89,9 +89,9 @@ async function buildR1cs(ctx, fileName) {
const mapSize = fd.pos - pMapSize - 8; const mapSize = fd.pos - pMapSize - 8;
// Write sizes // 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(); await fd.close();

Loading…
Cancel
Save