未验证 提交 07d4a022 编写于 作者: P Péter Szilágyi 提交者: GitHub

Merge pull request #15997 from karalabe/batch-reset-size

ethdb: reset the batch size too on reset
......@@ -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.
先完成此消息的编辑!
想要评论请 注册