Skip to content

Commit

Permalink
chore: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Jun 16, 2024
1 parent c5f3b7e commit 33dc03b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions starknet-crypto-codegen/src/pedersen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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();
}
}
Expand Down

0 comments on commit 33dc03b

Please sign in to comment.