mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-05 15:13:13 +00:00
fix: fix non-working test
Co-Authored-By: Dmitriy Ryajov <dryajov@gmail.com>
This commit is contained in:
parent
7f66c7ce48
commit
bef7c36ae7
@ -57,7 +57,7 @@ let myWitness =
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
proc testProof(zkey: ZKey, witness: Witness): bool =
|
||||
let proof = generateProof( zkey, witness )
|
||||
let proof = generateProof( 8, false, zkey, witness )
|
||||
let vkey = extractVKey( zkey)
|
||||
let ok = verifyProof( vkey, proof )
|
||||
return ok
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user