mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Ignore cache files on reindex (#2840)
This commit is contained in:
parent
565754e019
commit
6982d98548
@ -1981,7 +1981,8 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
|
||||
// LOAD SERIALIZED DAT FILES INTO DATA CACHES FOR INTERNAL USE
|
||||
|
||||
if (!fLiteMode) {
|
||||
bool fIgnoreCacheFiles = fLiteMode || fReindex || fReindexChainState;
|
||||
if (!fIgnoreCacheFiles) {
|
||||
boost::filesystem::path pathDB = GetDataDir();
|
||||
std::string strDBName;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user