Skip to content

Commit

Permalink
trie: address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 committed Apr 27, 2022
1 parent 4954fa0 commit 939f4a1
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 939f4a1

Please sign in to comment.