Skip to content

Commit

Permalink
Update ResultsProcessor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
idormenco committed May 31, 2024
1 parent f90f122 commit 07a9b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElectionResults.Core/Elections/ResultsProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static ElectionResultsResponse PopulateElectionResults(Turnout electionTu
{
if (results.ValidVotes == 0)
{
results.ValidVotes = results.TotalVotes - results.ValidVotes;
results.ValidVotes = results.TotalVotes - results.NullVotes;
}

results.Candidates = new List<CandidateResponse>
Expand Down

0 comments on commit 07a9b00

Please sign in to comment.