Skip to content

Commit

Permalink
(lts-backport) hotfix GetLastTransactions
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Sep 9, 2024
1 parent b590bce commit 4d6b240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vochain/indexer/db/transactions.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vochain/indexer/queries/transactions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ LIMIT 1;

-- name: GetLastTransactions :many
SELECT * FROM transactions
ORDER BY id DESC
ORDER BY block_height DESC
LIMIT ?
OFFSET ?
;
Expand Down

0 comments on commit 4d6b240

Please sign in to comment.