Skip to content

Commit

Permalink
organize boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Dec 12, 2024
1 parent c98721f commit 8d1f6db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/engine/tree/src/tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2259,12 +2259,12 @@ where
// } else {
// (None, Box::new(|_state: &EvmState| {}) as Box<dyn OnStateHook>)
// };
let state_hook = |_state: &EvmState| {};
let state_hook = Box::new(|_state: &EvmState| {});

let output = self.metrics.executor.execute_metered(
executor,
(&block, U256::MAX).into(),
Box::new(state_hook),
state_hook,
)?;

trace!(target: "engine::tree", elapsed=?exec_time.elapsed(), ?block_number, "Executed block");
Expand Down

0 comments on commit 8d1f6db

Please sign in to comment.