triedb/pathdb: fix flaky test in pathdb (#29901)
This commit is contained in:
parent
045b9718d5
commit
19c3c1e205
|
@ -121,7 +121,7 @@ func newTester(t *testing.T, historyLimit uint64) *tester {
|
|||
snapStorages: make(map[common.Hash]map[common.Hash]map[common.Hash][]byte),
|
||||
}
|
||||
)
|
||||
for i := 0; i < 8; i++ {
|
||||
for i := 0; i < 12; i++ {
|
||||
var parent = types.EmptyRootHash
|
||||
if len(obj.roots) != 0 {
|
||||
parent = obj.roots[len(obj.roots)-1]
|
||||
|
|
Loading…
Reference in New Issue