Merge pull request #15997 from karalabe/batch-reset-size
ethdb: reset the batch size too on reset
This commit is contained in:
		@@ -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 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user