From 06cfad9e31d3ed0235224d95cd28f60b14e8a50e Mon Sep 17 00:00:00 2001 From: enitrat Date: Fri, 4 Oct 2024 13:56:54 +0200 Subject: [PATCH] revert unwanted change --- crates/utils/src/traits/bytes.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/utils/src/traits/bytes.cairo b/crates/utils/src/traits/bytes.cairo index 1de45067..177b60a7 100644 --- a/crates/utils/src/traits/bytes.cairo +++ b/crates/utils/src/traits/bytes.cairo @@ -51,7 +51,7 @@ pub impl U8SpanExImpl of U8SpanExTrait { Option::Some(byte) => { let byte: u64 = (*byte.unbox()).into(); // Accumulate pending_word in a little endian manner - byte * (256 * byte_counter.into()) + byte.shl(8_u32 * byte_counter.into()) }, Option::None => { break; }, };