Skip to content

Commit

Permalink
[fix] slotduty update in proposer API (#372)
Browse files Browse the repository at this point in the history
slotduty update in proposer API
  • Loading branch information
metachris authored Apr 26, 2023
1 parent d64f85c commit 966fe0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ func (api *RelayAPI) processNewSlot(headSlot uint64) {
api.headSlot.Store(headSlot)

// only for builder-api
if api.opts.BlockBuilderAPI {
if api.opts.BlockBuilderAPI || api.opts.ProposerAPI {
// update proposer duties in the background
go api.updateProposerDuties(headSlot)
}
Expand Down

0 comments on commit 966fe0b

Please sign in to comment.