Skip to content

Commit

Permalink
triedb/hashdb: Avoid setting db.cleans on Close (#29309)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Mar 22, 2024
1 parent 14eb896 commit f46fe62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion triedb/hashdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f46fe62

Please sign in to comment.