diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-07-24 08:14:15 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-07-24 08:14:15 +0800 |
commit | f6206efe5bcf28942990e35ef373d273e9785372 (patch) | |
tree | 401fdace59be9cead1f19181b071f70dbec6b0e2 /consensus/clique/snapshot_test.go | |
parent | ae674a3660ff7655c9b79bf0c01af0a363efdf4d (diff) | |
download | dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.gz dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.bz2 dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.lz dexon-f6206efe5bcf28942990e35ef373d273e9785372.tar.xz 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.go | 2 |
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), } |