diff --git a/src/bytes/src/tests/test_bytes.cairo b/src/bytes/src/tests/test_bytes.cairo index a5372735..af7b70b0 100644 --- a/src/bytes/src/tests/test_bytes.cairo +++ b/src/bytes/src/tests/test_bytes.cairo @@ -499,8 +499,9 @@ fn test_bytes_append() { bytes = Bytes { size: size, data: data }; // append_address - let address = - contract_address_const::<0x015401855d7796176b05d160196ff92381eb7910f5446c2e0e04e13db2194a4f>(); + let address = contract_address_const::< + 0x015401855d7796176b05d160196ff92381eb7910f5446c2e0e04e13db2194a4f + >(); bytes.append_address(address); let Bytes{size, mut data } = bytes; assert(size == 117, 'append_address_size'); diff --git a/src/bytes/src/utils.cairo b/src/bytes/src/utils.cairo index db7d3939..54cdf1a6 100644 --- a/src/bytes/src/utils.cairo +++ b/src/bytes/src/utils.cairo @@ -15,9 +15,7 @@ fn keccak_u128s_be(mut input: Span, n_bytes: usize) -> u256 { keccak_add_uint128_be(ref keccak_input, *v, value_size); size -= value_size; }, - Option::None => { - break; - }, + Option::None => { break; }, }; };