Skip to content

Commit

Permalink
committee_info fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 committed Aug 23, 2024
1 parent 9768a67 commit 65c5ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/grest/rpc/governance/committee_info.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ BEGIN
WHEN EXISTS (
SELECT TRUE
FROM committee_de_registration AS cdr
WHERE cdr.cold_key_id = cr.cold_key_id
AND cdr.tx_id > cr.tx_id
WHERE cdr.cold_key_id = ch_cold.id
AND cdr.tx_id > (SELECT MAX(tx_id) FROM public.committee_registration WHERE cold_key_id = ch_cold.id)
) THEN 'resigned'
WHEN hot_key.raw IS NULL THEN 'not_authorized'
ELSE
Expand Down

0 comments on commit 65c5ad1

Please sign in to comment.