Skip to content

Commit

Permalink
Catch missed voter renames
Browse files Browse the repository at this point in the history
  • Loading branch information
cowlicks committed Jul 22, 2018
1 parent b24b781 commit 200f9c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions voter/voter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import (
)

func TestVoter(t *testing.T) {
signer := blind.NewSigner()
pub, session, _ := signer.BlindSession()
registrar := blind.NewRegistrar()
pub, session, _ := registrar.BlindSession()

voter := NewVoter()
message, err := voter.RequestRegistration(pub, session)
if err != nil {
t.Fatal()
}
sig, err := signer.BlindSign(message, *session)
sig, err := registrar.BlindSign(message, *session)
if err != nil {
t.Fatal()
}
Expand Down

0 comments on commit 200f9c6

Please sign in to comment.