Skip to content

Commit

Permalink
Set preRegister to false even if is an anonymous election
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvelmer committed Sep 7, 2023
1 parent 9716b09 commit 0ecd7b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/election.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export abstract class ElectionCore extends TransactionCore {
interruptible: election.electionType.interruptible,
dynamicCensus: election.electionType.dynamicCensus,
encryptedMetaData: false, // TODO
preRegister: election.electionType.anonymous,
preRegister: false, // TODO
},
voteOptions: {
maxCount: election.voteType.maxCount ?? election.questions.length,
Expand Down

0 comments on commit 0ecd7b9

Please sign in to comment.