Skip to content

Commit

Permalink
Merge pull request #102 from moshe-blox/pass-commonopts-downstream
Browse files Browse the repository at this point in the history
Pass `CommonOpts` downstream in `Validators`
  • Loading branch information
mcdee authored Jan 29, 2024
2 parents 41d684f + 1ba862c commit 9d799aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (s *Service) validatorsFromState(ctx context.Context,
*api.Response[map[phase0.ValidatorIndex]*apiv1.Validator],
error,
) {
stateResponse, err := s.BeaconState(ctx, &api.BeaconStateOpts{State: opts.State})
stateResponse, err := s.BeaconState(ctx, &api.BeaconStateOpts{State: opts.State, Common: opts.Common})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9d799aa

Please sign in to comment.