mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-22 02:34:31 +00:00
fix clippy
This commit is contained in:
parent
78e63e2cbf
commit
fe597a7fd3
2 changed files with 1 additions and 3 deletions
|
@ -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 => {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue