diff --git a/trie/proof.go b/trie/proof.go index d1bc6d5f9c..62c47beda2 100644 --- a/trie/proof.go +++ b/trie/proof.go @@ -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.