Skip to content

Commit

Permalink
Merge pull request #2115 from hirosystems/fix/stackers-500
Browse files Browse the repository at this point in the history
fix: /extended/v2/pox/cycles/{n}/signers/{key}/stackers returning 500
  • Loading branch information
zone117x authored Oct 14, 2024
2 parents f3615c8 + d6e0010 commit 114e49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datastore/pg-store-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ export class PgStoreV2 extends BasePgStoreModule {
cs.stacker_type,
COUNT(*) OVER()::int AS total
FROM pox_sets ps
LEFT JOIN combined_stackers cs ON ps.signing_key = cs.signer_key
INNER JOIN combined_stackers cs ON ps.signing_key = cs.signer_key
WHERE ps.canonical = TRUE
AND ps.cycle_number = ${cycleNumber}
AND ps.signing_key = ${signerKey}
Expand Down

0 comments on commit 114e49c

Please sign in to comment.