We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33def6 commit fbae550Copy full SHA for fbae550
bin/transpiler/src/main.cpp
@@ -331,11 +331,7 @@ int main(int argc, char *argv[]) {
331
std::cerr << "Invalid command line argument - public input file does not exist" << std::endl;
332
return 1;
333
}
334
-
335
- std::ofstream pfile;
336
- pfile.open(output_folder_path+"/public_input.json");
337
- pfile << nil::blueprint::convert_numeric_public_input_to_json<BlueprintFieldType>(public_input);
338
- pfile.close();
+ boost::filesystem::copy(public_input, output_folder_path+"/public_input.json", boost::filesystem::copy_options::overwrite_existing);
339
340
341
value_marshalling_type marshalled_data;
0 commit comments