Skip to content

Commit

Permalink
fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshvanahalli committed Oct 9, 2024
1 parent 115afdc commit 3a6e868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbitrator/jit/src/prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn prepare_env(json_inputs: PathBuf, debug: bool) -> eyre::Result<WasmEnv> {
.insert(batch_info.number, batch_info.data_b64.clone());
}

if data.delayed_msg_nr != 0 && data.delayed_msg_b64.len() != 0 {
if data.delayed_msg_nr != 0 && !data.delayed_msg_b64.is_empty() {
env.delayed_messages
.insert(data.delayed_msg_nr, data.delayed_msg_b64.clone());
}
Expand Down

0 comments on commit 3a6e868

Please sign in to comment.