aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorPaul Litvak <litvakpol@012.net.il>2017-09-19 05:07:19 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-19 05:07:19 +0800
commita92d8a26547c138953665387c57168e68bacdd13 (patch)
treef150d3ef910daaff6bbc119c4630d16ef2de690b /trie
parentdc17fa6b18c74397139dcfb79b3d05d3629f8e7d (diff)
downloadgo-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar.gz
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar.bz2
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar.lz
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar.xz
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.tar.zst
go-tangerine-a92d8a26547c138953665387c57168e68bacdd13.zip
trie: fix typo (#15152)
Diffstat (limited to 'trie')
-rw-r--r--trie/hasher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/hasher.go b/trie/hasher.go
index 672456e2d..4719aabf6 100644
--- a/trie/hasher.go
+++ b/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)