Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Dec 6, 2024
1 parent b36e017 commit c6e7d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ impl<S: ForkSource + std::fmt::Debug + Clone> InMemoryNode<S> {
// Calculate how much gas was used across all txs
let gas_used = debug_calls
.iter()
.map(|r| U256::from(r.gas_used))
.map(|r| r.gas_used)
.fold(U256::zero(), |acc, x| acc + x);

// Construct the block
Expand Down

0 comments on commit c6e7d95

Please sign in to comment.