Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BIDS-2669) api: fix ordering of result of /api/v1/validator/leaderboard #2690

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading