Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint drep/get-voting-power/{drepid} - error 500 when passing Hex DRep ID (Pub DRep Key hash) instead of Bech32 DRep ID (Pub DRep Key hash) #1093

Closed
pmbinapps opened this issue May 24, 2024 · 0 comments · Fixed by #1405
Assignees
Labels
🐛 Bug Something isn't working

Comments

@pmbinapps
Copy link

pmbinapps commented May 24, 2024

To reproduce:

curl -X 'GET' \ 'https://test-sanchonet.govtool.byron.network/api/drep/get-voting-power/33fb11c1fba4845dd900d2f05a1df0547f64457c4ee035c4c8a1bcd3' \ -H 'accept: application/json;charset=utf-8' Pattern match failure in 'do' block at src/VVA/DRep.hs:49:3-24% <------

And error 500 is returned, compare with

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants