Skip to content

Commit

Permalink
style: fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Jan 14, 2025
1 parent ecf46bb commit c33e3c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ use impl_trait_for_tuples::impl_for_tuples;
use scale_codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
// Substrate
use frame_support::traits::tokens::WithdrawConsequence;
use frame_support::{
dispatch::{DispatchResultWithPostInfo, Pays, PostDispatchInfo},
storage::KeyPrefixIterator,
Expand Down Expand Up @@ -942,7 +941,7 @@ impl<T: Config> Pallet<T> {

<AccountCodes<T>>::remove(address);
<AccountCodesMetadata<T>>::remove(address);
let _ = <AccountStorages<T>>::clear_prefix(address, u32::max_value(), None);
let _ = <AccountStorages<T>>::clear_prefix(address, u32::MAX, None);
}

/// Create an account.
Expand Down

0 comments on commit c33e3c4

Please sign in to comment.