From f80914446a3110da8f8fbf3f91a65ed521cca278 Mon Sep 17 00:00:00 2001 From: Satpal <28562234+SatpalSandhu61@users.noreply.github.com> Date: Wed, 13 Nov 2019 16:09:54 +0000 Subject: [PATCH] Fix for overflow in parent tracking (cherrypicking go-ethereum#18165 pull) (#876) --- trie/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/database.go b/trie/database.go index d0691b637..d819de1f9 100644 --- a/trie/database.go +++ b/trie/database.go @@ -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