diff --git a/protocols/gossipsub/src/behaviour.rs b/protocols/gossipsub/src/behaviour.rs index 827af6a2532..8f72acb63bf 100644 --- a/protocols/gossipsub/src/behaviour.rs +++ b/protocols/gossipsub/src/behaviour.rs @@ -63,7 +63,6 @@ use crate::types::{PeerConnections, PeerKind}; use crate::{backoff::BackoffStorage, types::RpcSender}; use crate::{ config::{Config, ValidationMode}, - rpc_proto, types::RpcOut, }; use crate::{rpc_proto::proto, TopicScoreParams}; diff --git a/protocols/gossipsub/src/metrics.rs b/protocols/gossipsub/src/metrics.rs index 639b563f5f5..6b21b0685f8 100644 --- a/protocols/gossipsub/src/metrics.rs +++ b/protocols/gossipsub/src/metrics.rs @@ -31,7 +31,7 @@ use prometheus_client::metrics::histogram::{linear_buckets, Histogram}; use prometheus_client::registry::Registry; use crate::topic::TopicHash; -use crate::types::{MessageAcceptance, PeerKind, RpcOut}; +use crate::types::{MessageAcceptance, PeerKind}; // Default value that limits for how many topics do we store metrics. const DEFAULT_MAX_TOPICS: usize = 300;