triedb/hashdb: Avoid setting db.cleans on Close (#29309)

This commit is contained in:
Darioush Jalali 2024-03-22 04:38:24 -07:00 committed by GitHub
parent 14eb8967be
commit f46fe62c5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -619,7 +619,6 @@ func (db *Database) Size() (common.StorageSize, common.StorageSize) {
func (db *Database) Close() error {
if db.cleans != nil {
db.cleans.Reset()
db.cleans = nil
}
return nil
}