Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Sep 18, 2024
1 parent 084a572 commit 8f7c5d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/executor/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ pub fn trace(
cache.cache_set(block_hash, CacheItem::CachedErr(err.clone()));
err
})?;
let state_diff =
to_state_diff(&mut tx_state, tx_declared_deprecated_class_hash).inspect_err(|_| {
let state_diff = to_state_diff(&mut tx_state, tx_declared_deprecated_class_hash)
.inspect_err(|_| {
// Remove the cache entry so it's no longer inflight.
let mut cache = cache.0.lock().unwrap();
cache.cache_remove(&block_hash);
Expand Down

0 comments on commit 8f7c5d7

Please sign in to comment.