consensus/clique: fix test copy paste error, test what's documented

pull/19222/head
Péter Szilágyi 6 years ago
parent 15eee47ebf
commit 2f24e254a9
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
  1. 4
      consensus/clique/snapshot_test.go

@ -246,10 +246,10 @@ func TestClique(t *testing.T) {
// Votes from deauthorized signers are discarded immediately (auth votes)
signers: []string{"A", "B", "C"},
votes: []testerVote{
{signer: "C", voted: "B", auth: false},
{signer: "C", voted: "D", auth: true},
{signer: "A", voted: "C", auth: false},
{signer: "B", voted: "C", auth: false},
{signer: "A", voted: "B", auth: false},
{signer: "A", voted: "D", auth: true},
},
results: []string{"A", "B"},
}, {

Loading…
Cancel
Save