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

ethdb: reset the batch size too on reset
pull/15993/merge
Péter Szilágyi 7 years ago committed by GitHub
commit 07d4a02257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ethdb/database.go

@ -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 {

Loading…
Cancel
Save