diff --git a/trie/utils.go b/trie/utils.go index 0895946e28ddb..fe7f6e52f9eb0 100644 --- a/trie/utils.go +++ b/trie/utils.go @@ -51,6 +51,7 @@ func newTracer() *tracer { } // onRead tracks the newly loaded trie node and caches the rlp-encoded blob internally. +// Don't change the value outside of function since it's not deep-copied. func (t *tracer) onRead(key []byte, val []byte) { // Tracer isn't used right now, remove this check later. if t == nil {