diff --git a/ethdb/database.go b/ethdb/database.go index 9a7c85d9ef..d86585f079 100644 --- a/ethdb/database.go +++ b/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 {