Skip to content

Commit

Permalink
fix: /extended/v2/pox/cycles/{n}/signers/{key}/stackers returning 500…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
zone117x committed Oct 11, 2024
1 parent f3615c8 commit d6e0010
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 d6e0010

Please sign in to comment.