Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLucqs committed Oct 10, 2023
1 parent af5879e commit 23f0357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/bytes/src/tests/test_bytes.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 1 addition & 3 deletions src/bytes/src/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ fn keccak_u128s_be(mut input: Span<u128>, n_bytes: usize) -> u256 {
keccak_add_uint128_be(ref keccak_input, *v, value_size);
size -= value_size;
},
Option::None => {
break;
},
Option::None => { break; },
};
};

Expand Down

0 comments on commit 23f0357

Please sign in to comment.