mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "ethdb/pebble: fix NewBatchWithSize to set db (#27350)"
This reverts commit a968f04a4f.
This commit is contained in:
parent
3d4b96efde
commit
883f7e6eda
1 changed files with 1 additions and 2 deletions
|
|
@ -308,7 +308,6 @@ func (d *Database) NewBatch() ethdb.Batch {
|
||||||
func (d *Database) NewBatchWithSize(_ int) ethdb.Batch {
|
func (d *Database) NewBatchWithSize(_ int) ethdb.Batch {
|
||||||
return &batch{
|
return &batch{
|
||||||
b: d.db.NewBatch(),
|
b: d.db.NewBatch(),
|
||||||
db: d,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue