Skip to content

Commit

Permalink
remove unnecessary ResetEpoch
Browse files Browse the repository at this point in the history
  • Loading branch information
moshe-blox committed Dec 1, 2024
1 parent 65da7f9 commit 22d2885
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions operator/duties/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ func (h *ProposerHandler) fetchAndProcessDuties(ctx context.Context, epoch phase
return fmt.Errorf("failed to fetch proposer duties: %w", err)
}

h.duties.ResetEpoch(epoch)

specDuties := make([]*spectypes.ValidatorDuty, 0, len(duties))
storeDuties := make([]dutystore.StoreDuty[eth2apiv1.ProposerDuty], 0, len(duties))
for _, d := range duties {
Expand Down

0 comments on commit 22d2885

Please sign in to comment.