Assert that pindexStart cannot be null in CWallet::ScanForWalletTransactions

This commit is contained in:
Kris Nuttycombe 2022-03-25 08:23:51 -06:00
parent 4a9bd59fef
commit b9b5d47523
1 changed files with 1 additions and 0 deletions

View File

@ -4315,6 +4315,7 @@ int CWallet::ScanForWalletTransactions(
bool fUpdate,
bool isInitScan)
{
assert(pindexStart != nullptr);
int ret = 0;
int64_t nNow = GetTime();
const CChainParams& chainParams = Params();