mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-21 02:18:07 +00:00
ethdb: reset the batch size too on reset
This commit is contained in:
parent
017b9f7eac
commit
3e89b80ccb
1 changed files with 1 additions and 0 deletions
|
|
@ -301,6 +301,7 @@ func (b *ldbBatch) ValueSize() int {
|
|||
|
||||
func (b *ldbBatch) Reset() {
|
||||
b.b.Reset()
|
||||
b.size = 0
|
||||
}
|
||||
|
||||
type table struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue