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
This commit is contained in:
Max Inden
2020-05-06 16:00:58 +02:00
committed by GitHub
parent cc37fda55b
commit 117fffb0cb
2 changed files with 133 additions and 131 deletions
+132 -130
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -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())