Clear note witness caches on reindex
This commit is contained in:
parent
76b226586e
commit
1683b1f58b
|
@ -532,6 +532,11 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
|
|||
RenameThread("bitcoin-loadblk");
|
||||
// -reindex
|
||||
if (fReindex) {
|
||||
#ifdef ENABLE_WALLET
|
||||
if (pwalletMain) {
|
||||
pwalletMain->ClearNoteWitnessCache();
|
||||
}
|
||||
#endif
|
||||
CImportingNow imp;
|
||||
int nFile = 0;
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in New Issue