Merge pull request #5750 from nuttycom/defensive/scanwallet_nullptr_check
Assert that pindexStart cannot be null in CWallet::ScanForWalletTransactions
This commit is contained in:
commit
d10c0553f3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue