fmt: run nightly-2023-10-15 and remove semicolons (#6035)

This commit is contained in:
rakita
2024-01-12 12:38:41 +01:00
committed by GitHub
parent 49621631a6
commit ee199bb5db
27 changed files with 161 additions and 167 deletions

View File

@@ -190,7 +190,7 @@ impl Command {
if in_memory_state_root == block.state_root {
info!(target: "reth::cli", state_root = ?in_memory_state_root, "Computed in-memory state root matches");
return Ok(());
return Ok(())
}
let provider_rw = factory.provider_rw()?;

View File

@@ -178,7 +178,7 @@ impl Command {
Ok(senders) => senders,
Err(err) => {
warn!(target: "reth::cli", "Error sealing block with senders: {err:?}. Skipping...");
continue;
continue
}
};
provider_rw.insert_block(sealed_block, None)?;
@@ -278,7 +278,7 @@ impl Command {
let clean_result = merkle_stage.execute(&provider_rw, clean_input);
assert!(clean_result.is_ok(), "Clean state root calculation failed");
if clean_result.unwrap().done {
break;
break
}
}
@@ -344,7 +344,7 @@ impl Command {
clean.1.nibbles.len() > self.skip_node_depth.unwrap_or_default()
{
first_mismatched_storage = Some((incremental, clean));
break;
break
}
}
(Some(incremental), None) => {