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.
This commit is contained in:
Max Inden
2020-03-10 00:35:22 +01:00
committed by GitHub
parent 845ad821ee
commit e98826977d
+1 -1
View File
@@ -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;