Skip to content

Commit

Permalink
(BIDS-2669) api: fix ordering of result of /api/v1/validator/leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush committed Nov 13, 2023
1 parent 9142043 commit ed84339
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 @@ -2487,7 +2487,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 {
sendErrorResponse(w, r.URL.String(), "could not retrieve db results")
return
Expand Down

0 comments on commit ed84339

Please sign in to comment.