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 Oct 5, 2024
1 parent 09cdaa4 commit aeb311a
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 @@ -5634,7 +5634,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 aeb311a

Please sign in to comment.