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