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 authored and GitHub committed 2020-03-09 16:35:22 -07:00
1 parent 845ad821ee
commit e98826977d
1 file changed
+1 -1
+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;