mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
parent
d8d9f4482f
commit
d0793f00c5
@ -115,11 +115,12 @@ func (s *Service) Start() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
s.waitForMinimumPeers()
|
s.waitForMinimumPeers()
|
||||||
if err := s.roundRobinSync(genesis); err == nil {
|
if err := s.roundRobinSync(genesis); err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
log.Infof("Synced up to slot %d", s.chain.HeadSlot())
|
log.Infof("Synced up to slot %d", s.chain.HeadSlot())
|
||||||
s.synced = true
|
s.synced = true
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Stop initial sync.
|
// Stop initial sync.
|
||||||
func (s *Service) Stop() error {
|
func (s *Service) Stop() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user