mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
Use nullptr instead of NULL
This commit is contained in:
parent
c6b07fddcf
commit
68feb49105
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue