Skip to content

Commit

Permalink
chore: clean up and cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Dec 19, 2024
1 parent 71b15bc commit 6e7b2b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ async fn main() -> anyhow::Result<()> {
let bytes = std::fs::read(load_state_path).expect("Failed to read load state file");
node.load_state(zksync_types::web3::Bytes(bytes))?;
}

// Load state from `--state` if provided and contains a saved state
if let Some(ref state_path) = config.state {
let bytes = std::fs::read(state_path).expect("Failed to read load state file");
node.load_state(zksync_types::web3::Bytes(bytes))?;
Expand Down

0 comments on commit 6e7b2b5

Please sign in to comment.