Skip to content

Commit

Permalink
the default msm implementation in fact checks length (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed May 3, 2023
1 parent f293ae8 commit 2f9556f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec/src/scalar_mul/variable_base/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub trait VariableBaseMSM: ScalarMul {
Self::msm_bigint(bases, &bigints)
}

/// Performs multi-scalar multiplication, without checking that `bases.len() == scalars.len()`.
/// Performs multi-scalar multiplication.
///
/// # Warning
///
Expand Down

0 comments on commit 2f9556f

Please sign in to comment.