We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3939d71 commit 04bdee4Copy full SHA for 04bdee4
src/routes/governance/proposals/tx-hash/cert-index/votes.ts
@@ -37,7 +37,12 @@ async function route(fastify: FastifyInstance) {
37
gracefulRelease(clientDbSync);
38
39
for (const row of rows) {
40
- // Convert voter id to cip129 format
+ if (!row.voter.startsWith('drep')) {
41
+ // Keep non-DRep voter unmodified
42
+ continue;
43
+ }
44
+
45
+ // Convert voter id to CIP129 format
46
const cip129DRep = dbSyncDRepToCIP129({
47
drep_id: row.voter,
48
has_script: row.voter_has_script,
0 commit comments