From 33dc03b42c10dd4ed9f86878d98e4d519624d706 Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Fri, 17 May 2024 04:44:56 +0800 Subject: [PATCH] chore: remove commented out code --- starknet-crypto-codegen/src/pedersen.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/starknet-crypto-codegen/src/pedersen.rs b/starknet-crypto-codegen/src/pedersen.rs index a15e3d8b..83b8b282 100644 --- a/starknet-crypto-codegen/src/pedersen.rs +++ b/starknet-crypto-codegen/src/pedersen.rs @@ -42,7 +42,6 @@ fn push_points( )?; let mut bits_left = max_bits; - // let mut outer_point = base; let mut outer_point = ProjectivePoint::from_affine(base.x(), base.y()).unwrap(); while bits_left > 0 { let eat_bits = std::cmp::min(bits_left, bits); @@ -58,7 +57,6 @@ fn push_points( // Shift outer point #bits times bits_left -= eat_bits; for _i in 0..bits { - // outer_point.double_assign(); outer_point += outer_point.clone(); } }