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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/unlock allocation #2778

Merged
merged 3 commits into from Sep 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions code/go/0chain.net/smartcontract/dbs/event/challenge.go
Expand Up @@ -141,6 +141,9 @@ func (edb *EventDb) GetOpenChallengesForBlobber(blobberID string, from int64, li
Order(clause.OrderByColumn{
Column: clause.Column{Name: "round_created_at"},
Desc: true,
}).
Order(clause.OrderByColumn{
Column: clause.Column{Name: "challenge_id"},
})

result := query.Find(&chs)
Expand Down