all: fix spelling errors

This commit is contained in:
Péter Szilágyi
2017-01-06 19:44:35 +02:00
parent ac93a6ff6c
commit 18c77744ff
40 changed files with 65 additions and 65 deletions

View File

@ -52,7 +52,7 @@ func returnHasherToPool(h *hasher) {
// hash collapses a node down into a hash node, also returning a copy of the
// original node initialzied with the computed hash to replace the original one.
func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error) {
// If we're not storing the node, just hashing, use avaialble cached data
// If we're not storing the node, just hashing, use available cached data
if hash, dirty := n.cache(); hash != nil {
if db == nil {
return hash, n, nil