From 9605b49b546020bcf11e02f2968f51e4d67b09e4 Mon Sep 17 00:00:00 2001 From: Charlotte <49371958+chachaleo@users.noreply.github.com> Date: Wed, 18 Oct 2023 11:27:20 +0700 Subject: [PATCH] Update crates/utils/src/helpers.cairo Co-authored-by: Mathieu <60658558+enitrat@users.noreply.github.com> --- crates/utils/src/helpers.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/utils/src/helpers.cairo b/crates/utils/src/helpers.cairo index 2eb94f6b2..b77d329e9 100644 --- a/crates/utils/src/helpers.cairo +++ b/crates/utils/src/helpers.cairo @@ -529,7 +529,7 @@ impl U256Impl of U256Trait { impl ByteArrayExt of ByteArrayExTrait { fn from_bytes(mut bytes: Span) -> 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;