Skip to content

Commit

Permalink
Clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
danielSanchezQ committed Sep 25, 2024
1 parent c219858 commit a88d53b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nomos-da/network/core/src/swarm/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ pub async fn handle_validator_dispersal_event<Membership>(
}
}

pub async fn handle_sampling_event<Membership>(
pub async fn handle_sampling_event(
sampling_events_sender: &mut UnboundedSender<SamplingEvent>,
event: SamplingEvent,
) where
Membership: MembershipHandler<NetworkId = SubnetworkId, Id = PeerId>,
{
) {
if let Err(e) = sampling_events_sender.send(event) {
debug!("Error distributing sampling message internally: {e:?}");
}
Expand Down

0 comments on commit a88d53b

Please sign in to comment.