Skip to content

Commit

Permalink
Do not expose anymore from_coordinates_unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstanceBeguier committed Oct 16, 2023
1 parent 64ef8c3 commit 359cda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_gadgets/src/ecc/chip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl EccPoint {
/// Constructs a point from its coordinates, without checking they are on the curve.
///
/// This is an internal API that we only use where we know we have a valid curve point.
pub fn from_coordinates_unchecked(
pub(crate) fn from_coordinates_unchecked(
x: AssignedCell<Assigned<pallas::Base>, pallas::Base>,
y: AssignedCell<Assigned<pallas::Base>, pallas::Base>,
) -> Self {
Expand Down

0 comments on commit 359cda1

Please sign in to comment.