There is currently no check on the ballots submitted using the CastVote() command. If a node submits an empty ballot, the problem will be spotted only during the shuffle and the nodes will never be able to proceed.
A unit test has been added in /contracts/evoting/mod_test.go which should fail but currently passes.
To spot the problem, one can replace a casted ballot in the ScenarioTest by a simple CiphterText{}
There is currently no check on the ballots submitted using the CastVote() command. If a node submits an empty ballot, the problem will be spotted only during the shuffle and the nodes will never be able to proceed.
A unit test has been added in /contracts/evoting/mod_test.go which should fail but currently passes.
To spot the problem, one can replace a casted ballot in the ScenarioTest by a simple CiphterText{}