Skip to content

Commit

Permalink
Formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Mar 27, 2024
1 parent 390c681 commit 103250b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions precompiles/src/precompile_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,14 +1089,13 @@ impl<R: pallet_evm::Config, P: PrecompileSetFragment> PrecompileSetBuilder<R, P>

/// Return the list of mapped addresses contained in this PrecompileSet.
pub fn used_addresses() -> impl Iterator<Item = R::AccountId> {
Self::used_addresses_h160()
.map(R::AddressMapping::into_account_id)
Self::used_addresses_h160().map(R::AddressMapping::into_account_id)
}

/// Return the list of H160 addresses contained in this PrecompileSet.
pub fn used_addresses_h160() -> impl Iterator<Item = H160> {
Self::new().inner.used_addresses().into_iter()
}
Self::new().inner.used_addresses().into_iter()
}

pub fn summarize_checks(&self) -> Vec<PrecompileCheckSummary> {
self.inner.summarize_checks()
Expand Down

0 comments on commit 103250b

Please sign in to comment.