Fix for overflow in parent tracking (cherrypicking go-ethereum#18165 pull) (#876)

This commit is contained in:
Satpal 2019-11-13 16:09:54 +00:00 committed by Samer Falah
parent bdbeacdf47
commit f80914446a
1 changed files with 1 additions and 1 deletions

View File

@ -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