Skip to content

Commit 68feb49

Browse files
Use nullptr instead of NULL
1 parent c6b07fd commit 68feb49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@ CWallet* CWallet::CreateWalletFromFile(const std::string walletFile)
38703870
// Top up the keypool
38713871
if (!walletInstance->TopUpKeyPool()) {
38723872
InitError(_("Unable to generate initial keys") += "\n");
3873-
return NULL;
3873+
return nullptr;
38743874
}
38753875

38763876
walletInstance->SetBestChain(chainActive.GetLocator());

0 commit comments

Comments
 (0)