mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-08 00:23:09 +00:00
fix a bug (how did it work before?!)
This commit is contained in:
parent
9fd8bba4f0
commit
106d918ecf
@ -85,7 +85,7 @@ func buildABC( zkey: ZKey, witness: seq[Fr] ): ABC =
|
||||
else: raise newException(AssertionDefect, "fatal error")
|
||||
|
||||
var valuesC : seq[Fr] = newSeq[Fr](domSize)
|
||||
for i in 0..<hdr.nvars:
|
||||
for i in 0..<domSize:
|
||||
valuesC[i] = valuesA[i] * valuesB[i]
|
||||
|
||||
return ABC( valuesA:valuesA, valuesB:valuesB, valuesC:valuesC )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user