Skip to content

Commit

Permalink
style: rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed Oct 25, 2021
1 parent b8529ce commit f5ef92f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion filecoin-proofs/src/api/window_post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,10 @@ pub fn generate_single_window_post_with_vanilla<Tree: 'static + MerkleTreeTrait>

let vanilla_params = window_post_setup_params(&post_config);
let partitions = get_partitions_for_window_post(vanilla_proofs.len(), &post_config);
ensure!(partition_index < partitions.unwrap_or(1), "Invalid partition index specified");
ensure!(
partition_index < partitions.unwrap_or(1),
"Invalid partition index specified"
);

let setup_params = compound_proof::SetupParams {
vanilla_params,
Expand Down

0 comments on commit f5ef92f

Please sign in to comment.