Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed Jan 23, 2025
1 parent 82f1249 commit 01b3f0b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/srs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ impl SRS {
/// # Returns
///
/// * `Result<SRS, KzgError>` - The initialized SRS or an error.
pub fn new(
path_to_g1_points: &str,
order: u32,
points_to_load: u32,
) -> Result<Self, KzgError> {
pub fn new(path_to_g1_points: &str, order: u32, points_to_load: u32) -> Result<Self, KzgError> {
if points_to_load > order {
return Err(KzgError::GenericError(
"Number of points to load exceeds SRS order.".to_string(),
Expand Down

0 comments on commit 01b3f0b

Please sign in to comment.