trie: go fmt package

This commit is contained in:
Péter Szilágyi 2018-11-16 16:35:39 +02:00
parent 91c66d47ef
commit d136e985e8
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ func (t *Trie) Prove(key []byte, fromLevel uint, proofDb ethdb.Putter) error {
}
hasher := newHasher(0, 0, nil)
defer returnHasherToPool(hasher)
for i, n := range nodes {
// Don't bother checking for errors here since hasher panics
// if encoding doesn't work and we're not writing to any database.