Skip to content

Commit

Permalink
Update challenger/query.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
sh-cha and coderabbitai[bot] authored Dec 10, 2024
1 parent 6367d19 commit 9c1209b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenger/query.go
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ func (c *Challenger) QueryChallenges(from string, limit uint64, descOrder bool)
}

var startKey []byte
if next != "" {
if from != "" {
startKey, err = base64.StdEncoding.DecodeString(from)
if err != nil {
return challengertypes.QueryChallengesResponse{}, err

0 comments on commit 9c1209b

Please sign in to comment.