Merge pull request #62 from weijiekoh/fix/zk_vk_export
Fixes the zkey export verificationkey command to allow the user to specify the output path of the verification key
This commit is contained in:
commit
769210b91e
2
cli.js
2
cli.js
@ -495,7 +495,7 @@ async function groth16Verify(params, options) {
|
||||
// zkey export vkey [circuit.zkey] [verification_key.json]",
|
||||
async function zkeyExportVKey(params, options) {
|
||||
const zkeyName = params[0] || "circuit.zkey";
|
||||
const verificationKeyName = params[2] || "verification_key.json";
|
||||
const verificationKeyName = params[1] || "verification_key.json";
|
||||
|
||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user