Skip to content

Commit a92d8a2

Browse files
Paul Litvakfjl
authored andcommitted
trie: fix typo (#15152)
1 parent dc17fa6 commit a92d8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trie/hasher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error)
7676
if err != nil {
7777
return hashNode{}, n, err
7878
}
79-
// Cache the hash of the ndoe for later reuse and remove
79+
// Cache the hash of the node for later reuse and remove
8080
// the dirty flag in commit mode. It's fine to assign these values directly
8181
// without copying the node first because hashChildren copies it.
8282
cachedHash, _ := hashed.(hashNode)

0 commit comments

Comments
 (0)