We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03bcd24 commit b0e6cb0Copy full SHA for b0e6cb0
pkg/p2p/libp2p/libp2p.go
@@ -438,7 +438,6 @@ func (s *Service) handleIncoming(stream network.Stream) {
438
return
439
}
440
441
- // Store capabilities in peer registry - now each peer knows the other's capabilities
442
if exists := s.peers.addIfNotExists(stream.Conn(), overlay, i.Capabilities); exists {
443
s.logger.Debug("stream handler: peer already exists", "peer_address", overlay)
444
if err = handshakeStream.FullClose(); err != nil {
0 commit comments