mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
parent
ea02edba29
commit
2de4f86277
@ -426,13 +426,13 @@ func (s *Service) FindPeersWithSubnet(index uint64) (bool, error) {
|
||||
// do not look for nodes with no tcp port set
|
||||
if err := node.Record().Load(enr.WithEntry("tcp", new(enr.TCP))); err != nil {
|
||||
if !enr.IsNotFound(err) {
|
||||
log.WithError(err).Error("Could not retrieve tcp port")
|
||||
log.WithError(err).Debug("Could not retrieve tcp port")
|
||||
}
|
||||
continue
|
||||
}
|
||||
subnets, err := retrieveAttSubnets(node.Record())
|
||||
if err != nil {
|
||||
log.Errorf("could not retrieve subnets: %v", err)
|
||||
log.Debugf("could not retrieve subnets: %v", err)
|
||||
continue
|
||||
}
|
||||
for _, comIdx := range subnets {
|
||||
|
Loading…
Reference in New Issue
Block a user