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

@@ -5,6 +5,7 @@ import (
"flag"
"fmt"
"io/ioutil"
"os"
"time"
"github.com/iden3/go-circom-prover-verifier/parsers"
@@ -34,15 +35,15 @@ func main() {
if err != nil {
fmt.Println("Error:", err)
}
return
os.Exit(0)
} else if *verify {
err := cmdVerify(*proofPath, *verificationKeyPath, *publicPath)
if err != nil {
fmt.Println("Error:", err)
}
return
os.Exit(0)
}
fmt.Println("use -help for the list of commands")
flag.PrintDefaults()
}
func cmdProve(provingKeyPath, witnessPath, proofPath, publicPath string) error {