Skip to content

Commit

Permalink
fix: mock compile option
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalakkal committed Jan 16, 2024
1 parent f9ae94b commit 787e284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuit/js/src/cliHandler/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const compile = async (
}
}
try {
const res = options.mock ? await circuit.compile(circuitInputs) : await circuit.mockCompile(circuitInputs);
const res = options.mock ? await circuit.mockCompile(circuitInputs) : await circuit.compile(circuitInputs);
const circuitFn = `const ${f.importName} = AXIOM_CLIENT_IMPORT\n${f.circuit.toString()}`;
const encoder = new TextEncoder();
const circuitBuild = encoder.encode(circuitFn);
Expand Down

0 comments on commit 787e284

Please sign in to comment.