Skip to content

Commit

Permalink
Pass CommonOpts downstream in Validators
Browse files Browse the repository at this point in the history
  • Loading branch information
moshe-blox committed Jan 28, 2024
1 parent 009ae3e commit 1ba862c
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 1ba862c

Please sign in to comment.