diff --git a/starknet-curve/src/ec_point.rs b/starknet-curve/src/ec_point.rs index 183fb2ca..93fec56f 100644 --- a/starknet-curve/src/ec_point.rs +++ b/starknet-curve/src/ec_point.rs @@ -280,23 +280,6 @@ impl ops::AddAssign<&ProjectivePoint> for ProjectivePoint { } } -// impl ops::Mul<&[bool]> for &ProjectivePoint { -// type Output = ProjectivePoint; - -// #[allow(clippy::suspicious_arithmetic_impl)] -// fn mul(self, rhs: &[bool]) -> Self::Output { -// let mut product = ProjectivePoint::identity(); -// for b in rhs.iter().rev() { -// product.double_assign(); -// if *b { -// product += self; -// } -// } - -// product -// } -// } - impl ops::Mul<&BitArray<[u64; 4]>> for &ProjectivePoint { type Output = ProjectivePoint;