We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3ddc2a commit 050e77eCopy full SHA for 050e77e
1 file changed
src/electionguard/tally.py
@@ -53,7 +53,7 @@ class CiphertextTallySelection(ElectionObjectBase, CiphertextSelection):
53
"""
54
55
ciphertext: ElGamalCiphertext = field(
56
- default=ElGamalCiphertext(ONE_MOD_P, ONE_MOD_P)
+ default_factory=lambda: ElGamalCiphertext(ONE_MOD_P, ONE_MOD_P)
57
)
58
59
The encrypted representation of the total of all ballots for this selection
0 commit comments