Skip to content

Commit

Permalink
chore: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrsirdev committed Oct 20, 2023
1 parent 80bab36 commit be69260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handler/v1/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ func Rewards(ctx *fasthttp.RequestCtx) {
length = len(sortedRewards)
}

if len(sortedRewards) <= 0 {
if len(sortedRewards) == 0 {
sendResponse("account does not have staking balance", errors.New(""), ctx)
return
}
Expand Down

0 comments on commit be69260

Please sign in to comment.