mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
ethdb/pebble: use consistent write option for pebble update
This commit is contained in:
parent
49623bd469
commit
7c87f6bcd6
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ func (d *Database) Delete(key []byte) error {
|
||||||
if d.closed {
|
if d.closed {
|
||||||
return pebble.ErrClosed
|
return pebble.ErrClosed
|
||||||
}
|
}
|
||||||
return d.db.Delete(key, nil)
|
return d.db.Delete(key, d.writeOptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewBatch creates a write-only key-value store that buffers changes to its host
|
// NewBatch creates a write-only key-value store that buffers changes to its host
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue