Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
agodnic committed Feb 5, 2025
1 parent 89c7a5d commit 6872b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idb/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -2032,7 +2032,7 @@ func (db *IndexerDb) buildAccountQuery(opts idb.AccountQueryOptions, countOnly b
partNumber++
}
if opts.OnlineOnly {
whereParts = append(whereParts, "(a.account_data->>'onl' IS NOT NULL) and (account_data->>'voteLst' IS NOT NULL) and ((a.account_data->>'onl') = '1')")
whereParts = append(whereParts, "(a.account_data->>'onl' IS NOT NULL) AND (account_data->>'voteLst' IS NOT NULL) AND ((a.account_data->>'onl') = '1')")
}
query = `SELECT a.addr, a.microalgos, a.rewards_total, a.created_at, a.closed_at, a.deleted, a.rewardsbase, a.keytype, a.account_data FROM account a`
if opts.HasAssetID != 0 {
Expand Down

0 comments on commit 6872b44

Please sign in to comment.