We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce9dae2 commit fafc29fCopy full SHA for fafc29f
trie/database.go
@@ -838,7 +838,7 @@ func (c *cleaner) Put(key []byte, rlp []byte) error {
838
delete(c.db.dirties, hash)
839
c.db.dirtiesSize -= common.StorageSize(common.HashLength + int(node.size))
840
if node.children != nil {
841
- c.db.dirtiesSize -= common.StorageSize(cachedNodeChildrenSize + len(node.children)*(common.HashLength+2))
+ c.db.childrenSize -= common.StorageSize(cachedNodeChildrenSize + len(node.children)*(common.HashLength+2))
842
}
843
// Move the flushed node into the clean cache to prevent insta-reloads
844
if c.db.cleans != nil {
0 commit comments