Fix Big Proof
This commit is contained in:
parent
60188c0b21
commit
266680c625
@ -6259,7 +6259,7 @@ async function buldABC(curve, zkey, witness, coeffs) {
|
|||||||
let m = 0;
|
let m = 0;
|
||||||
let n = getUint32(0);
|
let n = getUint32(0);
|
||||||
while (m < n) {
|
while (m < n) {
|
||||||
var k = (n + m) / 2;
|
var k = Math.floor((n + m) / 2);
|
||||||
const va = getUint32(4 + k*sCoef + 4);
|
const va = getUint32(4 + k*sCoef + 4);
|
||||||
if (va > v) {
|
if (va > v) {
|
||||||
n = k - 1;
|
n = k - 1;
|
||||||
|
@ -1747,7 +1747,7 @@ async function buldABC(curve, zkey, witness, coeffs) {
|
|||||||
let m = 0;
|
let m = 0;
|
||||||
let n = getUint32(0);
|
let n = getUint32(0);
|
||||||
while (m < n) {
|
while (m < n) {
|
||||||
var k = (n + m) / 2;
|
var k = Math.floor((n + m) / 2);
|
||||||
const va = getUint32(4 + k*sCoef + 4);
|
const va = getUint32(4 + k*sCoef + 4);
|
||||||
if (va > v) {
|
if (va > v) {
|
||||||
n = k - 1;
|
n = k - 1;
|
||||||
|
File diff suppressed because one or more lines are too long
2
build/snarkjs.min.js
vendored
2
build/snarkjs.min.js
vendored
File diff suppressed because one or more lines are too long
@ -197,7 +197,7 @@ async function buldABC(curve, zkey, witness, coeffs) {
|
|||||||
let m = 0;
|
let m = 0;
|
||||||
let n = getUint32(0);
|
let n = getUint32(0);
|
||||||
while (m < n) {
|
while (m < n) {
|
||||||
var k = (n + m) / 2;
|
var k = Math.floor((n + m) / 2);
|
||||||
const va = getUint32(4 + k*sCoef + 4);
|
const va = getUint32(4 + k*sCoef + 4);
|
||||||
if (va > v) {
|
if (va > v) {
|
||||||
n = k - 1;
|
n = k - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user