Skip to content

Commit 510bc87

Browse files
removed checks for the verification of the encryption for the admin. Also changed a log to trace so that it is not called during a normal run. (#777)
Co-authored-by: Lee Richardson <github@leerichardson.com>
1 parent f4494ec commit 510bc87

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/electionguard_gui/components/upload_ballots_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def upload_ballot(
6565
) -> dict[str, Any]:
6666
try:
6767
db = self._db_service.get_db()
68-
self._log.debug(f"adding ballot {file_name} to {ballot_upload_id}")
68+
self._log.trace(f"adding ballot {file_name} to {ballot_upload_id}")
6969
success = self._ballot_upload_service.add_ballot(
7070
db, ballot_upload_id, election_id, file_name, file_contents
7171
)

src/electionguard_gui/services/decryption_stages/decryption_s2_announce_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def run(self, db: Database, decryption: DecryptionDto) -> None:
4747
spoiled_ballots = [
4848
ballot for ballot in ballots if ballot.state == BallotBoxState.SPOILED
4949
]
50-
ciphertext_tally = get_tally(manifest, context, ballots, True)
50+
ciphertext_tally = get_tally(manifest, context, ballots, False)
5151
self._log.debug("getting plaintext tally")
5252
plaintext_tally = decryption_mediator.get_plaintext_tally(
5353
ciphertext_tally, manifest

0 commit comments

Comments
 (0)