Skip to content

Commit

Permalink
chore: clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz committed Dec 20, 2023
1 parent 8d1bdf2 commit 56d0ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state-reconstruct-fetcher/src/types/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn parse_total_l2_to_l1_pubdata(bytes: Vec<u8>) -> Result<Vec<L2ToL1Pubdata>, Pa
pointer += L2_TO_L1_LOG_SERIALIZE_SIZE * num_of_l1_to_l2_logs as usize;

let num_of_messages = u32::from_be_bytes(read_next_n_bytes(&bytes, &mut pointer));
for i in 0..num_of_messages {
for _ in 0..num_of_messages {
let current_message_len = u32::from_be_bytes(read_next_n_bytes(&bytes, &mut pointer));
pointer += current_message_len as usize;
}
Expand Down

0 comments on commit 56d0ae0

Please sign in to comment.