mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
sync only up to previous epoch on phase 1 (#13083)
Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
parent
823f8ee3a2
commit
65ce27292c
@ -62,7 +62,7 @@ func (s *Service) roundRobinSync(genesis time.Time) error {
|
||||
|
||||
// syncToFinalizedEpoch sync from head to best known finalized epoch.
|
||||
func (s *Service) syncToFinalizedEpoch(ctx context.Context, genesis time.Time) error {
|
||||
highestFinalizedSlot, err := slots.EpochStart(s.highestFinalizedEpoch() + 1)
|
||||
highestFinalizedSlot, err := slots.EpochStart(s.highestFinalizedEpoch())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user