Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pools): display non-zero active_stake also for retired pools #142

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

1000101
Copy link
Contributor

@1000101 1000101 commented Feb 14, 2024

live_stake for retired pools is not being displayed at the moment. This query fixes the problem by modifying the CTE used for calculating the staked addresses, namely switching from active pools to all pools.

Example:
pool13d2tchandz87ux0pgkxjdxd62zkuj872tx5stpcth8f6xequ579

ACTUAL
live_stake: "0"

EXPECTED
live_stake: "501821431"

@vladimirvolek vladimirvolek merged commit a96251b into master Feb 29, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants