mirror of
https://github.com/tornadocash/snarkjs.git
synced 2024-11-01 07:45:43 +01:00
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