Skip to content

Commit

Permalink
Update beacon-chain/rpc/eth/shared/structs_validator.go
Browse files Browse the repository at this point in the history
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
  • Loading branch information
james-prysm and rauljordan authored Dec 1, 2023
1 parent 39ec677 commit 552ea8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/rpc/eth/shared/structs_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ type Validator struct {

func ValidatorsResponseFromConsensus(e *eth.Validators) (*ValidatorsResponse, error) {
if e == nil {
return nil, errors.New("VValidatorsResponse is empty")
return nil, errors.New("ValidatorsResponse is empty")
}
validatorList := make([]*ValidatorContainer, len(e.ValidatorList))
for i, validatorContainer := range e.ValidatorList {
Expand Down

0 comments on commit 552ea8d

Please sign in to comment.