mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 04:30:04 +00:00
add one more return (#4050)
This commit is contained in:
parent
24a5000e47
commit
7acb45d186
@ -259,7 +259,7 @@ func (s *Service) listenForNewNodes() {
|
|||||||
s.connectWithAllPeers(multiAddresses)
|
s.connectWithAllPeers(multiAddresses)
|
||||||
case <-s.ctx.Done():
|
case <-s.ctx.Done():
|
||||||
log.Debug("p2p context is closed, exiting routine")
|
log.Debug("p2p context is closed, exiting routine")
|
||||||
break
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user