Unverified Commit ce3ea8c9 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #19222 from karalabe/clique-fix-test

consensus/clique: fix test copy paste error, test what's documented
parents 15eee47e 2f24e254
......@@ -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"},
}, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment