Skip to content

Commit

Permalink
update validation.cpp
Browse files Browse the repository at this point in the history
this seems weird? why do we need to reference the specific
implementation vs cdbwrapperbase?
  • Loading branch information
josibake committed Sep 27, 2024
1 parent 04cd102 commit dcb7bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5633,7 +5633,7 @@ Chainstate& ChainstateManager::InitializeChainstate(CTxMemPool* mempool)

// 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 = DestroyDB(path_str);
const bool destroyed = MDBXWrapper::DestroyDB(path_str);

if (!destroyed) {
LogPrintf("error: leveldb DestroyDB call failed on %s\n", path_str);
Expand Down

0 comments on commit dcb7bfb

Please sign in to comment.