Skip to content

Commit

Permalink
chore: use Config instead of FloodsubConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Feb 8, 2025
1 parent 3bcd08a commit 691bcfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/floodsub/src/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use smallvec::SmallVec;
use crate::{protocol::{
FloodsubMessage, FloodsubProtocol, FloodsubRpc, FloodsubSubscription,
FloodsubSubscriptionAction,
}, topic::Topic, Config, FloodsubConfig};
}, topic::Topic, Config};

#[deprecated = "Use `Behaviour` instead."]
pub type Floodsub = Behaviour;
Expand All @@ -53,7 +53,7 @@ pub struct Behaviour {
/// Events that need to be yielded to the outside when polling.
events: VecDeque<ToSwarm<Event, FloodsubRpc>>,

config: FloodsubConfig,
config: Config,

/// List of peers to send messages to.
target_peers: FnvHashSet<PeerId>,
Expand Down

0 comments on commit 691bcfd

Please sign in to comment.