aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/clique/snapshot_test.go
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-07-24 08:14:15 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-07-24 08:14:15 +0800
commitf6206efe5bcf28942990e35ef373d273e9785372 (patch)
tree401fdace59be9cead1f19181b071f70dbec6b0e2 /consensus/clique/snapshot_test.go
parentae674a3660ff7655c9b79bf0c01af0a363efdf4d (diff)
downloaddexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.gz
dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.zst
dexon-f6206efe5bcf28942990e35ef373d273e9785372.zip
consensus: move test use only var/func to test(#17004)
Diffstat (limited to 'consensus/clique/snapshot_test.go')
-rw-r--r--consensus/clique/snapshot_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go
index 29a837983..5ac730c9e 100644
--- a/consensus/clique/snapshot_test.go
+++ b/consensus/clique/snapshot_test.go
@@ -360,7 +360,7 @@ func TestVoting(t *testing.T) {
for j, vote := range tt.votes {
headers[j] = &types.Header{
Number: big.NewInt(int64(j) + 1),
- Time: big.NewInt(int64(j) * int64(blockPeriod)),
+ Time: big.NewInt(int64(j) * 15),
Coinbase: accounts.address(vote.voted),
Extra: make([]byte, extraVanity+extraSeal),
}