Unverified Commit c322ca43 authored by Max Inden's avatar Max Inden Committed by GitHub
Browse files

network/src/legacy/gossip: Return bounded channel when testing (#1046)

* network/src/legacy/gossip: Return bounded channel when testing

* Cargo.lock: Update to current Substrate master
parent 1c65078c
Pipeline #91359 passed with stages
in 26 minutes and 42 seconds
This diff is collapsed.
......@@ -439,7 +439,7 @@ impl RegisteredMessageValidator {
gossip_engine.lock().messages_for(topic)
} else {
log::error!("Called gossip_messages_for on a test engine");
futures::channel::mpsc::unbounded().1
futures::channel::mpsc::channel(0).1
};
GossipMessageStream::new(topic_stream.boxed())
......
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