Skip to content

Commit

Permalink
cargo fmt --all -- --config imports_granularity=Crate
Browse files Browse the repository at this point in the history
  • Loading branch information
SurfingNerd committed Sep 17, 2024
1 parent dfdfe9e commit 2c0aaa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/concensus/miner/src/service_transaction_checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ impl ServiceTransactionChecker {
HashMap::default(),
);

let contract_address = Address::from_str("5000000000000000000000000000000000000001".into()).unwrap();

let contract_address =
Address::from_str("5000000000000000000000000000000000000001".into()).unwrap();

let addresses: Vec<_> = cache.keys().collect();
let mut cache: HashMap<Address, bool> = HashMap::default();
for address in addresses {
Expand All @@ -101,7 +102,6 @@ impl ServiceTransactionChecker {
}
*self.certified_addresses_cache.write() = cache;
Ok(true)

}

fn call_contract<C: CallContract + RegistryInfo>(
Expand Down

0 comments on commit 2c0aaa6

Please sign in to comment.