Skip to content

Commit

Permalink
triedb/hashdb: Avoid setting db.cleans on Close (ethereum#29309)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored and jorgemmsilva committed Jun 17, 2024
1 parent 71fba4e commit da7e105
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 da7e105

Please sign in to comment.