mirror of https://github.com/poanetwork/quorum.git
Fix for overflow in parent tracking (cherrypicking go-ethereum#18165 pull) (#876)
This commit is contained in:
parent
bdbeacdf47
commit
f80914446a
|
@ -134,7 +134,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
|
||||
|
|
Loading…
Reference in New Issue