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

bug: not error when weight of census with root 0 is requested #1119

Open
lucasmenendez opened this issue Sep 26, 2023 · 0 comments
Open

bug: not error when weight of census with root 0 is requested #1119

lucasmenendez opened this issue Sep 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@lucasmenendez
Copy link
Contributor

Describe the bug
The API of the node return {"weight": "0"} when the census weight is requested using sixty four 0's as root.

To Reproduce (please complete the following information)

curl https://api-dev.vocdoni.net/v2/censuses/0000000000000000000000000000000000000000000000000000000000000000/weight
{"weight":"0"}
@lucasmenendez lucasmenendez added the bug Something isn't working label Sep 26, 2023
@lucasmenendez lucasmenendez changed the title bug: not error when get weight of census with root 0 bug: not error when weight of census with root 0 is requested Sep 26, 2023
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
None yet
Development

No branches or pull requests

1 participant