mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
commit
a3ef0fa895
@ -175,7 +175,7 @@ impl DBStore {
|
||||
);
|
||||
// close DB before deletion
|
||||
drop(store);
|
||||
rocksdb::DB::destroy(&default_opts(), &path).with_context(|| {
|
||||
rocksdb::DB::destroy(&default_opts(), path).with_context(|| {
|
||||
format!(
|
||||
"re-index required but the old database ({}) can not be deleted",
|
||||
path.display()
|
||||
|
Loading…
Reference in New Issue
Block a user