Skip to content

Commit

Permalink
fix(cip-1694): dreps without registration
Browse files Browse the repository at this point in the history
  • Loading branch information
1000101 committed Dec 18, 2023
1 parent 4156c30 commit 05dca09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/governance/dreps_drep_id.sql
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SELECT dh.view AS "drep_id",
) AS "active_epoch",
dh.has_script AS "has_script"
FROM drep_hash dh
JOIN drep_registration dr ON (dh.id = dr.drep_hash_id)
LEFT JOIN drep_registration dr ON (dh.id = dr.drep_hash_id)
LEFT JOIN drep_distr dd ON (
dh.id = dd.hash_id
AND dd.epoch_no = (
Expand Down

0 comments on commit 05dca09

Please sign in to comment.