Skip to content

Commit

Permalink
stores: fix TestWalletTransactions
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjan committed Feb 28, 2024
1 parent 5cd6577 commit 47bcefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (s *SQLStore) WalletEvents(offset, limit int) ([]wallet.Event, error) {
}

var dbEvents []dbWalletEvent
err := s.db.Raw("SELECT * FROM events ORDER BY timestamp DESC LIMIT ? OFFSET ?",
err := s.db.Raw("SELECT * FROM wallet_events ORDER BY timestamp DESC LIMIT ? OFFSET ?",
limit, offset).Scan(&dbEvents).
Error
if err != nil {
Expand Down

0 comments on commit 47bcefb

Please sign in to comment.