Skip to content

Commit

Permalink
trie: address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 committed May 4, 2022
1 parent 85301f7 commit 381f6ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trie/utils.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 381f6ec

Please sign in to comment.