Skip to content

Commit

Permalink
Fix CI clippy (paritytech#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgmichel authored Dec 8, 2022
1 parent 3173b07 commit 661d178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/evm/src/runner/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ where
// of a precompile. While mainnet Ethereum currently only has stateless precompiles,
// projects using Frontier can have stateful precompiles that can manage funds or
// which calls other contracts that expects this precompile address to be trustworthy.
if !<AccountCodes<T>>::get(&source).is_empty() || precompiles.is_precompile(source) {
if !<AccountCodes<T>>::get(source).is_empty() || precompiles.is_precompile(source) {
return Err(RunnerError {
error: Error::<T>::TransactionMustComeFromEOA,
weight,
Expand Down

0 comments on commit 661d178

Please sign in to comment.