triedb/pathdb: fix flaky test in pathdb (#29901)

pull/30088/head
lilasxie 4 months ago committed by GitHub
parent 045b9718d5
commit 19c3c1e205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      triedb/pathdb/database_test.go

@ -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…
Cancel
Save