ethdb: reset the batch size too on reset

pull/15997/head
Péter Szilágyi 7 years ago
parent 017b9f7eac
commit 3e89b80ccb
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
  1. 1
      ethdb/database.go

@ -301,6 +301,7 @@ func (b *ldbBatch) ValueSize() int {
func (b *ldbBatch) Reset() {
b.b.Reset()
b.size = 0
}
type table struct {

Loading…
Cancel
Save