Commit a92d8a26 authored by Paul Litvak's avatar Paul Litvak Committed by Felix Lange

trie: fix typo (#15152)

parent dc17fa6b
...@@ -76,7 +76,7 @@ func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error) ...@@ -76,7 +76,7 @@ func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error)
if err != nil { if err != nil {
return hashNode{}, n, err return hashNode{}, n, err
} }
// Cache the hash of the ndoe for later reuse and remove // Cache the hash of the node for later reuse and remove
// the dirty flag in commit mode. It's fine to assign these values directly // the dirty flag in commit mode. It's fine to assign these values directly
// without copying the node first because hashChildren copies it. // without copying the node first because hashChildren copies it.
cachedHash, _ := hashed.(hashNode) cachedHash, _ := hashed.(hashNode)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment