Commit d6344c2f authored by Petar Radovic's avatar Petar Radovic

removed redundant warningf

parent 67d93b96
......@@ -315,10 +315,6 @@ func (s *Service) Connect(ctx context.Context, addr ma.Multiaddr) (overlay swarm
i, err := s.handshakeService.Handshake(stream)
if err != nil {
if err == handshake.ErrNetworkIDIncompatible {
s.logger.Warningf("peer %s has a different network id.", info.ID)
}
_ = s.host.Network().ClosePeer(info.ID)
return swarm.Address{}, err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment