Skip to content

Commit

Permalink
Merge pull request #14 from lambdaclass/pub-into-vaue
Browse files Browse the repository at this point in the history
Make secp point methods public
  • Loading branch information
edg-l authored Oct 16, 2024
2 parents 40ee994 + 896fde3 commit 578c7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/starknet/secp256k1_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct Secp256k1Point {

impl Secp256k1Point {
#[allow(unused)]
pub(crate) fn into_value(self) -> Value {
pub fn into_value(self) -> Value {
Value::Struct(vec![
Value::Struct(vec![Value::U128(self.x.lo), Value::U128(self.x.hi)]),
Value::Struct(vec![Value::U128(self.y.lo), Value::U128(self.y.hi)]),
Expand Down
2 changes: 1 addition & 1 deletion src/starknet/secp256r1_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct Secp256r1Point {

impl Secp256r1Point {
#[allow(unused)]
pub(crate) fn into_value(self) -> Value {
pub fn into_value(self) -> Value {
Value::Struct(vec![
Value::Struct(vec![Value::U128(self.x.lo), Value::U128(self.x.hi)]),
Value::Struct(vec![Value::U128(self.y.lo), Value::U128(self.y.hi)]),
Expand Down

0 comments on commit 578c7fd

Please sign in to comment.