Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions phase2-cli/src/combine.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use phase2::parameters::{verify_transcript, MPCParameters};
use setup_utils::{print_hash, CheckForCorrectness, SubgroupCheckMode, UseCompression};

use algebra::{CanonicalSerialize, BW6_761};
use algebra::BW6_761;

use std::fs::File;
use std::io::{BufRead, BufReader};
Expand Down Expand Up @@ -83,12 +83,4 @@ pub fn combine(
.write(&mut combined_contents, COMBINED_IS_COMPRESSED)
.expect("should have written combined");
std::fs::write(combined_filename, &combined_contents).expect("should have written combined file");

let mut combined_parameters_contents = vec![];
combined
.params
.serialize_uncompressed(&mut combined_parameters_contents)
.expect("should have serialized combined parameters");
std::fs::write(format!("{}.params", combined_filename), &combined_parameters_contents)
.expect("should have written combined parameters file");
}