Use RANDOMX_FLAG_FULL_MEM

This commit is contained in:
Duke Leto
2022-11-10 22:38:04 -05:00
parent 5aea752337
commit b94ec80307
2 changed files with 52 additions and 21 deletions

View File

@@ -2771,7 +2771,7 @@ int CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate)
// our wallet birthday (as adjusted for block time variability)
while (pindex && nTimeFirstKey && (pindex->GetBlockTime() < (nTimeFirstKey - 7200))) {
pindex = chainActive.Next(pindex);
pwalletMain->rescanHeight = pindex->GetHeight();
pwalletMain->rescanHeight = pindex ? pindex->GetHeight() : 0;
}
ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup