Skip to content

Commit

Permalink
Update validator/rpc/standard_api.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rkapka authored Jun 16, 2022
1 parent e997bb8 commit 19439f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/rpc/standard_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func (s *Server) ListFeeRecipientByPubkey(ctx context.Context, req *ethpbservice
// SetFeeRecipientByPubkey updates the eth address mapped to the public key.
func (s *Server) SetFeeRecipientByPubkey(ctx context.Context, req *ethpbservice.SetFeeRecipientByPubkeyRequest) (*empty.Empty, error) {
if s.validatorService == nil {
return nil, status.Error(codes.FailedPrecondition, "Validator service not ready.")
return nil, status.Error(codes.FailedPrecondition, "Validator service not ready")
}
validatorKey := req.Pubkey
if err := validatePublicKey(validatorKey); err != nil {
Expand Down

0 comments on commit 19439f8

Please sign in to comment.