mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Update trie/stacktrie.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b1ceb91c34
commit
2463860b2a
1 changed files with 1 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ const (
|
||||||
hashedNode
|
hashedNode
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// emptyNodes is a pre-initialized array of nil pointers used to efficiently clear stNode children arrays during reset operations.
|
||||||
var emptyNodes = [16]*stNode{}
|
var emptyNodes = [16]*stNode{}
|
||||||
|
|
||||||
func (n *stNode) reset() *stNode {
|
func (n *stNode) reset() *stNode {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue