diff --git a/cmd/end2endtest/plaintext.go b/cmd/end2endtest/plaintext.go index c45b088ff..e9634bf5f 100644 --- a/cmd/end2endtest/plaintext.go +++ b/cmd/end2endtest/plaintext.go @@ -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) } @@ -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)) @@ -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)