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 25, 2024
1 parent e43eb3e commit 8c6e6c3
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 8c6e6c3

Please sign in to comment.