Skip to content

Commit

Permalink
try distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Aug 23, 2024
1 parent cf465f2 commit 6cb4082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql/txs/txs_hash_pool_updates.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SELECT pu.id AS "pu_id",
SELECT DISTINCT pu.id AS "pu_id",
pu.cert_index AS "cert_index",
encode(pu.vrf_key_hash, 'hex') AS "vrf_key",
pu.pledge::TEXT AS "pledge", -- cast to TEXT to avoid number overflow
Expand Down

0 comments on commit 6cb4082

Please sign in to comment.