Commit 2843001a authored by Martin Holst Swende's avatar Martin Holst Swende Committed by Péter Szilágyi

trie: fix overflow in write cache parent tracking (#18165)

trie/database: fix overflow in parent tracking
parent 9d5e3e06
......@@ -141,7 +141,7 @@ type cachedNode struct {
node node // Cached collapsed trie node, or raw rlp data
size uint16 // Byte size of the useful cached data
parents uint16 // Number of live nodes referencing this one
parents uint32 // Number of live nodes referencing this one
children map[common.Hash]uint16 // External children referenced by this node
flushPrev common.Hash // Previous node in the flush-list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment