Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrLSD committed Jan 10, 2025
1 parent 6c94abf commit 0e4639a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm-tests/jsontests/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ fn test_run(
// even if `caller_code` is non-empty transaction should be executed.
let is_delegated = original_state
.get(&caller)
.map_or(false, |c| Authorization::is_delegated(&c.code));
.is_some_and(|c| Authorization::is_delegated(&c.code));

for (i, state) in states.iter().enumerate() {
let transaction = test_tx.select(&state.indexes);
Expand Down

0 comments on commit 0e4639a

Please sign in to comment.