trie: fix typo (#15152)

This commit is contained in:
Paul Litvak 2017-09-19 00:07:19 +03:00 committed by Felix Lange
parent dc17fa6b18
commit a92d8a2654

View File

@ -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)