Skip to content

Commit

Permalink
e2etest: update plaintextelection
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajdab authored and altergui committed Apr 17, 2023
1 parent 6a0af57 commit 584f9d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/end2endtest/plaintext.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (t *E2EPlaintextElection) Run() (duration time.Duration, err error) {
api := t.api

// Set the account in the API client, so we can sign transactions
if err := api.SetAccount(hex.EncodeToString(c.accountKeys[0].PrivateKey())); err != nil {
if err := api.SetAccount(c.accountPrivKeys[0]); err != nil {
log.Fatal(err)
}

Expand Down Expand Up @@ -96,7 +96,7 @@ func (t *E2EPlaintextElection) Run() (duration time.Duration, err error) {
}

// Generate the voting proofs (parallelized)
t.proofs = t.generateProofs(root)
t.proofs = t.generateProofs(root, false)

// Create a new Election
description := newDefaultElectionDescription(root, censusURI, uint64(t.config.nvotes))
Expand All @@ -106,7 +106,6 @@ func (t *E2EPlaintextElection) Run() (duration time.Duration, err error) {
}

t.election = election

log.Debugf("election details: %+v", *election)

// Send the votes (parallelized)
Expand Down

0 comments on commit 584f9d9

Please sign in to comment.