diff --git a/filecoin-proofs/src/api/window_post.rs b/filecoin-proofs/src/api/window_post.rs index 0efa14a407..0d4c769df5 100644 --- a/filecoin-proofs/src/api/window_post.rs +++ b/filecoin-proofs/src/api/window_post.rs @@ -267,7 +267,10 @@ pub fn generate_single_window_post_with_vanilla 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,