Skip to content
Commit 8721b138 authored by Luke Schoen's avatar Luke Schoen
Browse files

fix: Amount of candidate approval votes cannot exceed candidates amount....

fix: Amount of candidate approval votes cannot exceed candidates amount. Candidates amount must be over zero.

* Fix so that amount of candidate approval votes cannot exceed amount of candidates (instead of desired seats)

* Add assertion to `set_approvals` such that amount of candidates to receive approval votes must be greater than zero. Add associated test
parent a4433b60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment