You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server/p2p/network.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -853,6 +853,11 @@ where S: ShareChain
853
853
info!(target:PEER_INFO_LOGGING_LOG_TARGET,"[DIRECT_PEER_EXCHANGE_TOPIC] New peer info: {} with {} peers", response.peer_id, response.best_peers.len());
854
854
match response.peer_id.parse::<PeerId>(){
855
855
Ok(peer_id) => {
856
+
if response.info.squad != self.config.squad.to_string(){
857
+
warn!(target:LOG_TARGET, squad = &self.config.squad;"Peer {} is not in the same squad, skipping", peer_id);
0 commit comments