mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 09:31:20 +00:00
protocols/gossipsub: Update topic_peers (#2325)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -1252,6 +1252,10 @@ where
|
||||
.entry(*peer_id)
|
||||
.or_default()
|
||||
.insert(topic.clone());
|
||||
self.topic_peers
|
||||
.entry(topic.clone())
|
||||
.or_default()
|
||||
.insert(*peer_id);
|
||||
}
|
||||
|
||||
// we don't GRAFT to/from explicit peers; complain loudly if this happens
|
||||
|
Reference in New Issue
Block a user