From 1ba862c72e05e58757e522cff2f5e4872da8e833 Mon Sep 17 00:00:00 2001 From: moshe-blox Date: Sun, 28 Jan 2024 14:15:51 +0200 Subject: [PATCH] Pass `CommonOpts` downstream in `Validators` --- http/validators.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/validators.go b/http/validators.go index 74cb1f1d..cde9e5b9 100644 --- a/http/validators.go +++ b/http/validators.go @@ -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 }