substream -> substreams (#720)

This commit is contained in:
James Ray
2018-12-04 09:32:51 +00:00
committed by Pierre Krieger
parent c5d08ab48c
commit 1c247a5914

View File

@ -42,7 +42,7 @@ pub struct FloodsubBehaviour<TSubstream> {
/// List of peers the network is connected to, and the topics that they're subscribed to.
// TODO: filter out peers that don't support floodsub, so that we avoid hammering them with
// opened substream
// opened substreams
connected_peers: HashMap<PeerId, SmallVec<[TopicHash; 8]>>,
// List of topics we're subscribed to. Necessary to filter out messages that we receive