Explorar o código

trie: fix typo (#15152)

Paul Litvak %!s(int64=8) %!d(string=hai) anos
pai
achega
a92d8a2654
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      trie/hasher.go

+ 1 - 1
trie/hasher.go

@@ -76,7 +76,7 @@ func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error)
 	if err != nil {
 		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
 	// without copying the node first because hashChildren copies it.
 	cachedHash, _ := hashed.(hashNode)