Skip to content

Commit

Permalink
fix for drep_info regarding active state
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Dec 16, 2024
1 parent a598e71 commit ccc10da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/grest/rpc/governance/drep_info.sql
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ BEGIN
SELECT
drep_state.drep,
drep_state.deposit,
(CASE WHEN (curr_epoch - b.epoch_no) < drep_activity THEN TRUE ELSE FALSE END) AS active,
(CASE WHEN (curr_epoch - b.epoch_no) <= drep_activity THEN TRUE ELSE FALSE END) AS active,
(b.epoch_no + drep_activity) AS expires_epoch_no
FROM (
SELECT
Expand Down

0 comments on commit ccc10da

Please sign in to comment.