update round to 12

This commit is contained in:
lilasxie 2024-06-01 11:43:43 +08:00 committed by Gary Rong
parent bd88d359b0
commit c6505edc3d

View file

@ -121,7 +121,7 @@ func newTester(t *testing.T, historyLimit uint64) *tester {
snapStorages: make(map[common.Hash]map[common.Hash]map[common.Hash][]byte), snapStorages: make(map[common.Hash]map[common.Hash]map[common.Hash][]byte),
} }
) )
for i := 0; i < 20; i++ { for i := 0; i < 12; i++ {
var parent = types.EmptyRootHash var parent = types.EmptyRootHash
if len(obj.roots) != 0 { if len(obj.roots) != 0 {
parent = obj.roots[len(obj.roots)-1] parent = obj.roots[len(obj.roots)-1]