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

Users can submit multiple votes with the same address and signature. #4

Open
livinginformation opened this issue Sep 15, 2015 · 3 comments
Labels

Comments

@livinginformation
Copy link

Symptoms: See title.

Discovery: I discovered this issue by accidentally signing http://bitcoinocracy.com/arguments/this-statement-is-false four times.

Fix: You need to limit voting to disallow duplicate signatures. You should also add a redirect upon vote submission.

@mathwizard1232
Copy link

It actually looks like seven times: http://bitcoinocracy.com/arguments/this-statement-is-false.json

Nice catch. Fun argument. :-)

@livinginformation
Copy link
Author

Interesting, the apparent 7 submissions have only mapped to 4 submissions in terms of "real" bitcoin value.

@arsenische
Copy link
Owner

Thanks for pointing this out. I added a constraint to the database so it should never happen again. Added redirection as well.

@arsenische arsenische added the bug label Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants