mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
trie: typo
This commit is contained in:
parent
019dca9ba2
commit
e006e4ea2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue