ethdb: reset the batch size too on reset

parent 017b9f7e
...@@ -301,6 +301,7 @@ func (b *ldbBatch) ValueSize() int { ...@@ -301,6 +301,7 @@ func (b *ldbBatch) ValueSize() int {
func (b *ldbBatch) Reset() { func (b *ldbBatch) Reset() {
b.b.Reset() b.b.Reset()
b.size = 0
} }
type table struct { type table struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment