mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 09:17:58 +00:00
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:
Generated
+132
-130
File diff suppressed because it is too large
Load Diff
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user