Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Aug 26, 2024
1 parent 6e67c75 commit 2b79217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethexe/network/src/db_sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl Response {
(Request::DataForHashes(requested_hashes), Self::DataForHashes(hashes)) => {
let hashes_keys: BTreeSet<H256> = hashes.keys().copied().collect();
let excessive_requested_hashes: BTreeSet<H256> =
hashes_keys.difference(&requested_hashes).copied().collect();
hashes_keys.difference(requested_hashes).copied().collect();

if excessive_requested_hashes.is_empty() {
return false;
Expand Down

0 comments on commit 2b79217

Please sign in to comment.