Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Jul 29, 2020
1 parent c8c60f4 commit 013fdcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/horizon/internal/db2/history/trade.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ func (q *TradesQ) Page(page db2.PageQuery) *TradesQ {
q.sql = sq.SelectBuilder{}
} else {
q.sql = q.appendOrdering(q.sql, op, idx, page.Order)
q.sql = q.sql.Limit(page.Limit)
}

q.sql = q.sql.Limit(page.Limit)
return q
}

Expand Down

0 comments on commit 013fdcb

Please sign in to comment.