Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Apr 2, 2024
2 parents 05772e0 + 7d99898 commit ec1c84a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sentry/proposer_duty.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func (s *Sentry) startProposerDutyWatcher(ctx context.Context) error {
if !s.Config.ProposerDuty.Enabled {
return nil
}

// Subscribe to future proposer duty events.
s.beacon.Duties().OnProposerDuties(func(epoch phase0.Epoch, duties []*eth2v1.ProposerDuty) error {
if err := s.createNewProposerDutyEvent(ctx, epoch, duties); err != nil {
Expand Down

0 comments on commit ec1c84a

Please sign in to comment.