trie/database: fix overflow in parent tracking

This commit is contained in:
Martin Holst Swende 2018-11-22 14:06:53 +01:00
parent 3ba0418a9a
commit 8dcbb8d4c1
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

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