core/state, eth, trie: stabilize memory use, fix memory leak
This commit is contained in:
@ -565,7 +565,7 @@ func BenchmarkCommitAfterHash(b *testing.B) {
|
||||
benchmarkCommitAfterHash(b, nil)
|
||||
})
|
||||
var a account
|
||||
onleaf := func(leaf []byte, parent common.Hash) error {
|
||||
onleaf := func(path []byte, leaf []byte, parent common.Hash) error {
|
||||
rlp.DecodeBytes(leaf, &a)
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user