From 96af9ae45631f50eba04857829a88d12d6154313 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Mon, 9 Mar 2020 13:25:21 +0100 Subject: [PATCH] network/src/legacy: Remove unnecessary super trait on GossipService Remove `Send + Sync + 'static` super trait bound on `GossipService`. It is not required by `GossipService` nor its `impl`s. --- network/src/legacy/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/src/legacy/mod.rs b/network/src/legacy/mod.rs index 6167749f538c..28ea77a6bdc1 100644 --- a/network/src/legacy/mod.rs +++ b/network/src/legacy/mod.rs @@ -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;