mirror of
https://github.com/tornadocash/snarkjs.git
synced 2024-11-01 07:45:43 +01:00
fixed params index in zkeyExportVKey to allow the user to specify the vk output path
This commit is contained in:
parent
4a00e93f41
commit
08c460764a
2
cli.js
2
cli.js
@ -495,7 +495,7 @@ async function groth16Verify(params, options) {
|
|||||||
// zkey export vkey [circuit.zkey] [verification_key.json]",
|
// zkey export vkey [circuit.zkey] [verification_key.json]",
|
||||||
async function zkeyExportVKey(params, options) {
|
async function zkeyExportVKey(params, options) {
|
||||||
const zkeyName = params[0] || "circuit.zkey";
|
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");
|
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user