diff --git a/src/init.cpp b/src/init.cpp index a2517961..8c7a227b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -532,6 +532,11 @@ void ThreadImport(std::vector vImportFiles) RenameThread("bitcoin-loadblk"); // -reindex if (fReindex) { +#ifdef ENABLE_WALLET + if (pwalletMain) { + pwalletMain->ClearNoteWitnessCache(); + } +#endif CImportingNow imp; int nFile = 0; while (true) {