mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
trie: fix overflow in write cache parent tracking (#18165)
trie/database: fix overflow in parent tracking
This commit is contained in:
parent
9d5e3e0637
commit
2843001ac2
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ type cachedNode struct {
|
||||||
node node // Cached collapsed trie node, or raw rlp data
|
node node // Cached collapsed trie node, or raw rlp data
|
||||||
size uint16 // Byte size of the useful cached 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
|
children map[common.Hash]uint16 // External children referenced by this node
|
||||||
|
|
||||||
flushPrev common.Hash // Previous node in the flush-list
|
flushPrev common.Hash // Previous node in the flush-list
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue