Use nullptr instead of NULL

This commit is contained in:
practicalswift 2017-10-09 14:26:53 +02:00
parent c6b07fddcf
commit 68feb49105

View file

@ -3870,7 +3870,7 @@ CWallet* CWallet::CreateWalletFromFile(const std::string walletFile)
// Top up the keypool
if (!walletInstance->TopUpKeyPool()) {
InitError(_("Unable to generate initial keys") += "\n");
return NULL;
return nullptr;
}
walletInstance->SetBestChain(chainActive.GetLocator());