Skip to content

Commit

Permalink
(BIDS-2669) api: fix ordering of result of /api/v1/validator/leaderbo…
Browse files Browse the repository at this point in the history
…ard (#2690)
  • Loading branch information
guybrush authored Nov 15, 2023
1 parent b9fedde commit a1c70b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@ func ApiValidatorLeaderboard(w http.ResponseWriter, r *http.Request) {
rank7d,
validatorindex
FROM validator_performance
ORDER BY rank7d DESC LIMIT 100`)
ORDER BY rank7d ASC LIMIT 100`)
if err != nil {
SendBadRequestResponse(w, r.URL.String(), "could not retrieve db results")
return
Expand Down

0 comments on commit a1c70b4

Please sign in to comment.