Unverified Commit 61e5d69e authored by Max Inden's avatar Max Inden Committed by GitHub
Browse files

network/src/legacy: Remove unnecessary super trait on GossipService (#891)

Remove `Send + Sync + 'static` super trait bound on `GossipService`. It
is not required by `GossipService` nor its `impl`s.
parent 4b92656a
Pipeline #82224 passed with stages
in 23 minutes and 25 seconds
......@@ -36,7 +36,7 @@ use std::task::{Context as PollContext, Poll};
use self::gossip::GossipMessage;
/// Basic gossip functionality that a network has to fulfill.
pub trait GossipService: Send + Sync + 'static {
pub trait GossipService {
/// Get a stream of gossip messages for a given hash.
fn gossip_messages_for(&self, topic: Hash) -> GossipMessageStream;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment