mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user