ethdb: reset the batch size too on reset

上级 017b9f7e
......@@ -301,6 +301,7 @@ func (b *ldbBatch) ValueSize() int {
func (b *ldbBatch) Reset() {
b.b.Reset()
b.size = 0
}
type table struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册