diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-03-06 19:41:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 19:41:00 +0800 |
commit | ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d (patch) | |
tree | 2fb095b3427c2ff58590a9e2ded2aae98f16287d | |
parent | 15eee47ebf878b4eff3c2359b9eaa57bba397448 (diff) | |
parent | 2f24e254a9e17587a218094683e7f9e64d23514b (diff) | |
download | go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar.gz go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar.bz2 go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar.lz go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar.xz go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.tar.zst go-tangerine-ce3ea8c9b1f6170c9a0dc44260b6bbafe6bd3f7d.zip |
Merge pull request #19222 from karalabe/clique-fix-test
consensus/clique: fix test copy paste error, test what's documented
-rw-r--r-- | consensus/clique/snapshot_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index b920312a8..489b85898 100644 --- a/consensus/clique/snapshot_test.go +++ b/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"}, }, { |