aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethdb/database.go')
-rw-r--r--ethdb/database.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethdb/database.go b/ethdb/database.go
index 9a7c85d9e..d86585f07 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 {