Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroXbrock committed Dec 11, 2024
1 parent 614e59e commit 577a8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/test_scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ where
.concat(),
);

if !self.gas_limits.contains_key(&key) {
if let std::collections::hash_map::Entry::Vacant(_) = self.gas_limits.entry(key) {
let gas_limit = self
.eth_client
.estimate_gas(tx_req)
Expand Down

0 comments on commit 577a8ba

Please sign in to comment.