fix clippy

This commit is contained in:
Boog900 2024-06-10 19:58:21 +01:00
parent 78e63e2cbf
commit fe597a7fd3
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
2 changed files with 1 additions and 3 deletions

View file

@ -1,6 +1,5 @@
//! # Block Downloader
//!
use indexmap::IndexSet;
use std::{
cmp::{max, min, Ordering, Reverse},
collections::{BTreeMap, BinaryHeap, HashSet},
@ -691,7 +690,7 @@ where
self.check_pending_peers(&mut chain_tracker).await;
}
Err(_) => {}
Err(_) => self.amount_of_empty_chain_entries += 1
}
}
else => {

View file

@ -3,7 +3,6 @@ use std::{cmp::min, collections::VecDeque};
use monero_p2p::{client::InternalPeerID, handles::ConnectionHandle, NetworkZone};
use monero_pruning::{PruningSeed, CRYPTONOTE_MAX_BLOCK_HEIGHT};
use monero_wire::protocol::ChainResponse;
use crate::constants::MEDIUM_BAN;