Skip to content

Commit

Permalink
Uncomment deprecated tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jun 28, 2023
1 parent 4b12090 commit bdfa0a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions felt/src/lib_bigint_felt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Felt252 {
value.into()
}

// #[deprecated]
#[deprecated]
pub fn modpow(&self, exponent: &Felt252, modulus: &Felt252) -> Self {
Self {
value: self.value.modpow(&exponent.value, &modulus.value),
Expand Down Expand Up @@ -157,13 +157,12 @@ impl Felt252 {
}

#[cfg(any(feature = "std", feature = "alloc"))]
// #[deprecated]
#[deprecated]
pub fn to_signed_bytes_le(&self) -> Vec<u8> {
// NOTE: this is unsigned
self.value.to_signed_bytes_le()
}
#[cfg(any(feature = "std", feature = "alloc"))]
// #[deprecated]
pub fn to_bytes_be(&self) -> Vec<u8> {
self.value.to_bytes_be()
}
Expand Down

0 comments on commit bdfa0a0

Please sign in to comment.