Unverified Commit d8be456c authored by Ashley's avatar Ashley Committed by GitHub
Browse files

Update network/src/lib.rs


Co-Authored-By: Pierre Krieger's avatarPierre Krieger <pierre.krieger1708@gmail.com>
parent ec736727
......@@ -113,7 +113,7 @@ impl<T> av_store::ProvideGossipMessages for AvailabilityNetworkShim<T>
where T: NetworkService
{
fn gossip_messages_for(&self, topic: Hash)
-> Box<dyn Stream<Item = (Hash, Hash, ErasureChunk)> + Unpin + Send>
-> Pin<Box<dyn Stream<Item = (Hash, Hash, ErasureChunk)> + Send>>
{
Box::new(self.0.gossip_messages_for(topic)
.filter_map(|(msg, _)| async move {
......
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