We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 952bf97 + 4c35366 commit fecda68Copy full SHA for fecda68
src/rpcdump.cpp
@@ -212,6 +212,9 @@ Value importwallet(const Array& params, bool fHelp)
212
while (pindex && pindex->pprev && pindex->nTime > nTimeBegin - 7200)
213
pindex = pindex->pprev;
214
215
+ if (!pwalletMain->nTimeFirstKey || nTimeBegin < pwalletMain->nTimeFirstKey)
216
+ pwalletMain->nTimeFirstKey = nTimeBegin;
217
+
218
LogPrintf("Rescanning last %i blocks\n", chainActive.Height() - pindex->nHeight + 1);
219
pwalletMain->ScanForWalletTransactions(pindex);
220
pwalletMain->MarkDirty();
0 commit comments