Skip to content

Commit 305276b

Browse files
committed
clippy changes
1 parent c02f9ec commit 305276b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

beacon_node/lighthouse_network/gossipsub/src/behaviour/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use libp2p::core::ConnectedPoint;
3030
use rand::Rng;
3131
use std::net::Ipv4Addr;
3232
use std::thread::sleep;
33-
use futures::StreamExt;
3433

3534
#[derive(Default, Debug)]
3635
struct InjectNodes<D, F> {

beacon_node/lighthouse_network/gossipsub/src/peer_score.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mod tests;
4444
const TIME_CACHE_DURATION: u64 = 120;
4545

4646
pub(crate) struct PeerScore {
47-
pub(crate) params: PeerScoreParams,
47+
pub(crate) params: PeerScoreParams,
4848
/// The score parameters.
4949
peer_stats: HashMap<PeerId, PeerStats>,
5050
/// Tracking peers per IP.

0 commit comments

Comments
 (0)