Modify comment in recomputeFieldTrie (#14873)

This commit is contained in:
Radosław Kapka
2025-02-04 13:20:40 +01:00
committed by GitHub
parent aa445713ac
commit 25244d906d

View File

@@ -1487,8 +1487,7 @@ func (b *BeaconState) recomputeFieldTrie(index types.FieldIndex, elements interf
if fTrie.FieldReference().Refs() > 1 {
var newTrie *fieldtrie.FieldTrie
// We choose to only copy the validator
// trie as it is pretty expensive to regenerate
// in the event of late blocks.
// trie as it is pretty expensive to regenerate.
if index == types.Validators {
newTrie = fTrie.CopyTrie()
} else {