trie: minor code formatting fix

This commit is contained in:
Péter Szilágyi 2018-11-16 11:50:07 +02:00 committed by GitHub
parent 45d909b471
commit 298efe9c4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +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.