We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a995f7b commit 778d92cCopy full SHA for 778d92c
trie/database.go
@@ -812,7 +812,7 @@ func (c *cleaner) Put(key []byte, rlp []byte) error {
812
delete(c.db.dirties, hash)
813
c.db.dirtiesSize -= common.StorageSize(common.HashLength + int(node.size))
814
if node.children != nil {
815
- c.db.dirtiesSize -= common.StorageSize(cachedNodeChildrenSize + len(node.children)*(common.HashLength+2))
+ c.db.childrenSize -= common.StorageSize(cachedNodeChildrenSize + len(node.children)*(common.HashLength+2))
816
}
817
// Move the flushed node into the clean cache to prevent insta-reloads
818
if c.db.cleans != nil {
0 commit comments