Skip to content

Commit

Permalink
Update crates/utils/src/helpers.cairo
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu <[email protected]>
  • Loading branch information
chachaleo and enitrat committed Oct 18, 2023
1 parent 6b6cc01 commit 9605b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/utils/src/helpers.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ impl U256Impl of U256Trait {
impl ByteArrayExt of ByteArrayExTrait {
fn from_bytes(mut bytes: Span<u8>) -> ByteArray {
let mut arr: ByteArray = Default::default();
let (mut nb_full_words, mut pending_word_len) = DivRem::div_rem(
let (nb_full_words, pending_word_len) = DivRem::div_rem(
bytes.len(), 31_u32.try_into().unwrap()
);
let mut i = 0;
Expand Down

0 comments on commit 9605b49

Please sign in to comment.