Skip to content

Commit

Permalink
Use nullptr instead of NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalswift committed Oct 9, 2017
1 parent c6b07fd commit 68feb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 68feb49

Please sign in to comment.