Skip to content

Commit

Permalink
Fix for overflow in parent tracking (cherrypicking go-ethereum#18165 …
Browse files Browse the repository at this point in the history
…pull) (#876)
  • Loading branch information
SatpalSandhu61 authored and jpmsam committed Nov 13, 2019
1 parent bdbeacd commit f809144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f809144

Please sign in to comment.