Fix prover benchmark file paths, update readme, and other small updates

This commit is contained in:
arnaucube
2020-04-29 10:27:31 +02:00
parent 02fc1ea6f7
commit 700f2a4503
4 changed files with 10 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ type Vk struct {
IC []*bn256.G1
}
// Verify verifies the Groth16 zkSNARK proof
func Verify(vk *types.Vk, proof *types.Proof, inputs []*big.Int) bool {
if len(inputs)+1 != len(vk.IC) {
fmt.Println("len(inputs)+1 != len(vk.IC)")