fix verifyFromInit cli param
This commit is contained in:
parent
e93658e3a4
commit
621a31c8e9
@ -7345,7 +7345,7 @@ async function zkeyVerifyFromInit(params, options) {
|
|||||||
|
|
||||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||||
|
|
||||||
const res = await phase2verifyFromInit(initZKeyName, zkeyName, logger);
|
const res = await phase2verifyFromInit(initZKeyName, ptauName, zkeyName, logger);
|
||||||
if (res === true) {
|
if (res === true) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
|
2
cli.js
2
cli.js
@ -927,7 +927,7 @@ async function zkeyVerifyFromInit(params, options) {
|
|||||||
|
|
||||||
if (options.verbose) Logger.setLogLevel("DEBUG");
|
if (options.verbose) Logger.setLogLevel("DEBUG");
|
||||||
|
|
||||||
const res = await zkey.verifyFromInit(initZKeyName, zkeyName, logger);
|
const res = await zkey.verifyFromInit(initZKeyName, ptauName, zkeyName, logger);
|
||||||
if (res === true) {
|
if (res === true) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user