Logprint the start of a rescan

This commit is contained in:
Jonas Schnelli 2018-04-09 18:48:19 +02:00
parent a7cbe38ae2
commit cab0824c96
No known key found for this signature in database
GPG key ID: 1EB776BB03C7922D

View file

@ -1714,6 +1714,9 @@ CBlockIndex* CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, CBlock
CBlockIndex* pindex = pindexStart; CBlockIndex* pindex = pindexStart;
CBlockIndex* ret = nullptr; CBlockIndex* ret = nullptr;
if (pindex) LogPrintf("Rescan started from block %d...\n", pindex->nHeight);
{ {
fAbortRescan = false; fAbortRescan = false;
ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup