Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jkilpatr committed Nov 28, 2023
1 parent 1b5715e commit 2ca36ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rita_client_registration/src/client_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ pub fn parse_exit_identity_array_abi(bytes: Vec<u8>) -> Result<Vec<ExitIdentity>
let index = 2;
for i in index..index + num_entries {
if i >= byte_chunks.len() {
let msg = format!("Encoded array length longer than data");
let msg = "Encoded array length longer than data".to_string();
error!("{}", msg);
return Err(Web3Error::BadInput(msg));
}
Expand Down

0 comments on commit 2ca36ce

Please sign in to comment.