Skip to content

Commit 5f2ac24

Browse files
Fix/tally spoiled (#466)
* Removed check for spoiled ballot to be in tally Added scrolling on the challeneged ballot display Updated version number to allow for WASM * Converting spoiled to challenged on import
1 parent c14e04b commit 5f2ac24

5 files changed

Lines changed: 274 additions & 282 deletions

File tree

bindings/netstandard/ElectionGuard/ElectionGuard.Decryption/Decryption/CiphertextDecryptionTally.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,6 @@ public void AddBallot(CiphertextBallot ballot)
114114
// add a spoiled ballot which will not be decrypted
115115
public void AddSpoiledBallot(CiphertextBallot ballot)
116116
{
117-
if (_tally.HasBallot(ballot.ObjectId))
118-
{
119-
throw new ArgumentException($"Tally {TallyId} already contains ballot {ballot.ObjectId}");
120-
}
121-
122117
if (!ballot.IsSpoiled)
123118
{
124119
throw new ArgumentException($"Tally {TallyId} Cannot add unspoiled ballot {ballot.ObjectId} {ballot.State.ToString()}");

0 commit comments

Comments
 (0)