diff options
author | S. Matthew English <s-matthew-english@users.noreply.github.com> | 2017-06-12 20:45:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-06-12 20:45:17 +0800 |
commit | 061889d4ea13b23d777efbe005210ead8667e869 (patch) | |
tree | 35a391e5ac09e683796c3c698f36542f06803d03 /consensus/clique/snapshot_test.go | |
parent | e3dfd5582026a8744a80d3de407601526b720abb (diff) | |
download | dexon-061889d4ea13b23d777efbe005210ead8667e869.tar dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.gz dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.bz2 dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.lz dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.xz dexon-061889d4ea13b23d777efbe005210ead8667e869.tar.zst dexon-061889d4ea13b23d777efbe005210ead8667e869.zip |
rlp, trie, contracts, compression, consensus: improve comments (#14580)
Diffstat (limited to 'consensus/clique/snapshot_test.go')
-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 49a1d7d5b..f18934b89 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -243,7 +243,7 @@ func TestVoting(t *testing.T) { }, results: []string{"A", "B"}, }, { - // Cascading changes are not allowed, only the the account being voted on may change + // Cascading changes are not allowed, only the account being voted on may change signers: []string{"A", "B", "C", "D"}, votes: []testerVote{ {signer: "A", voted: "C", auth: false}, @@ -293,7 +293,7 @@ func TestVoting(t *testing.T) { results: []string{"A", "B", "C"}, }, { // Ensure that pending votes don't survive authorization status changes. This - // corner case can only appear if a signer is quickly added, remove and then + // corner case can only appear if a signer is quickly added, removed and then // readded (or the inverse), while one of the original voters dropped. If a // past vote is left cached in the system somewhere, this will interfere with // the final signer outcome. |