aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-03-06 18:42:08 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-03-06 18:42:08 +0800
commit2f24e254a9e17587a218094683e7f9e64d23514b (patch)
tree2fb095b3427c2ff58590a9e2ded2aae98f16287d /consensus
parent15eee47ebf878b4eff3c2359b9eaa57bba397448 (diff)
downloadgo-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar.gz
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar.bz2
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar.lz
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar.xz
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.tar.zst
go-tangerine-2f24e254a9e17587a218094683e7f9e64d23514b.zip
consensus/clique: fix test copy paste error, test what's documented
Diffstat (limited to 'consensus')
-rw-r--r--consensus/clique/snapshot_test.go4
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"},
}, {