Skip to content

Commit 718ff1b

Browse files
committed
Try fix
1 parent 511abe5 commit 718ff1b

File tree

1 file changed

+2
-2
lines changed
  • barretenberg/cpp/src/barretenberg/bb

1 file changed

+2
-2
lines changed

barretenberg/cpp/src/barretenberg/bb/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ int main(int argc, char* argv[])
14091409
if (command == "write_arbitrary_valid_proof_and_vk_to_file") {
14101410
const std::filesystem::path output_dir = get_option(args, "-o", "./target");
14111411
api.write_arbitrary_valid_proof_and_vk_to_file(flags, output_dir);
1412-
return 1;
1412+
return 0;
14131413
}
14141414

14151415
throw_or_abort("Invalid command passed to execute_command in bb");
@@ -1424,7 +1424,7 @@ int main(int argc, char* argv[])
14241424

14251425
if (proof_system == "client_ivc") {
14261426
ClientIVCAPI api;
1427-
execute_command(command, flags, api);
1427+
return execute_command(command, flags, api);
14281428
} else if (command == "prove_and_verify") {
14291429
return proveAndVerify(bytecode_path, recursive, witness_path) ? 0 : 1;
14301430
} else if (command == "prove_and_verify_ultra_honk") {

0 commit comments

Comments
 (0)