Merge b565485c24 into merged_master (Bitcoin PR bitcoin/bitcoin#28186)

This commit is contained in:
Byron Hambly 2025-07-03 20:47:03 +02:00
commit 5ee80641fe
15 changed files with 257 additions and 163 deletions

View file

@ -5531,7 +5531,7 @@ static bool DeleteCoinsDBFromDisk(const fs::path db_path, bool is_snapshot)
// We have to destruct before this call leveldb::DB in order to release the db
// lock, otherwise `DestroyDB` will fail. See `leveldb::~DBImpl()`.
const bool destroyed = dbwrapper::DestroyDB(path_str, {}).ok();
const bool destroyed = DestroyDB(path_str);
if (!destroyed) {
LogPrintf("error: leveldb DestroyDB call failed on %s\n", path_str);