Browse Source

Use nullptr instead of NULL

0.16
practicalswift 7 years ago
parent
commit
68feb49105
  1. 2
      src/wallet/wallet.cpp

2
src/wallet/wallet.cpp

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

Loading…
Cancel
Save