We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94dbc60 commit c2707f5Copy full SHA for c2707f5
indexer/src/kadena-server/repository/infra/repository/transfer-db-repository.ts
@@ -122,12 +122,11 @@ export default class TransferDbRepository implements TransferRepository {
122
123
if (blockHash) {
124
queryParams.push(blockHash);
125
- const op = operator(queryParams.length);
126
query = `
127
WITH filtered_block AS (
128
SELECT id, height, hash
129
FROM "Blocks" b
130
- ${op} b.hash = $${queryParams.length}
+ WHERE b.hash = $${queryParams.length}
131
)
132
select transfers.id as id,
133
transfers.amount as "transferAmount",
0 commit comments