Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jul 11, 2023
1 parent 316af01 commit c29103d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions felt/src/lib_lambdaworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,12 @@ impl Felt252 {
}

pub fn from_bytes_be(bytes: &[u8]) -> Self {
// TODO: use upstream's version when it's more lenient
Self::from(BigUint::from_bytes_be(bytes))
}

pub fn from_bytes_le(bytes: &[u8]) -> Self {
// TODO: use upstream's version when it's more lenient
Self::from(BigUint::from_bytes_le(bytes))
}

Expand Down

0 comments on commit c29103d

Please sign in to comment.