mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
parent
45938124f5
commit
d745b39df9
@ -84,6 +84,11 @@ func (s *Sentinel) listenForPeers() {
|
||||
continue
|
||||
}
|
||||
|
||||
// Skip Peer if IP was private.
|
||||
if node.IP().IsPrivate() {
|
||||
continue
|
||||
}
|
||||
|
||||
go func(peerInfo *peer.AddrInfo) {
|
||||
if err := s.connectWithPeer(s.ctx, *peerInfo); err != nil {
|
||||
log.Debug("Could not connect with peer", "err", err)
|
||||
|
Loading…
Reference in New Issue
Block a user