Skip to content

Commit

Permalink
hot fix query validator
Browse files Browse the repository at this point in the history
  • Loading branch information
HoangNDM6 committed Oct 3, 2023
1 parent ae9c872 commit d73f4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export async function getAllValidators(): Promise<IResponse<any>> {
return axios.post(chainInfo.indexerV2, {
query: `query GetAllValidator {
${chainInfo.environment || ''} {
validator(limit: 1000) {
validator(limit: 1000, where: {status: {_neq: "UNRECOGNIZED"}} ) {
account_address
commission
description
Expand Down

0 comments on commit d73f4b3

Please sign in to comment.