Skip to content

Commit

Permalink
log if cleans not instantiated
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Nov 2, 2022
1 parent a1e7fb0 commit 4ee7cf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trie/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ func (db *Database) node(hash common.Hash) ([]byte, *cachedNode, error) {
memcacheCleanReadMeter.Mark(int64(len(enc)))
return enc, nil, nil
}
} else {
// TODO: remove later
log.Warn("trie database cleans is empty")
}
// Retrieve the node from the dirty cache if available
db.lock.RLock()
Expand Down

0 comments on commit 4ee7cf1

Please sign in to comment.