From c6b07fddcfb664d7d1afbff460a68479fe1238d2 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 9 Oct 2017 10:37:40 +0200 Subject: Fix a vs. an typo --- src/netbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/netbase.cpp b/src/netbase.cpp index 5a560bc95a..82040605c5 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -291,7 +291,7 @@ struct ProxyCredentials std::string password; }; -/** Convert SOCKS5 reply to a an error message */ +/** Convert SOCKS5 reply to an error message */ std::string Socks5ErrorString(uint8_t err) { switch(err) { -- cgit v1.2.3 From 68feb49105a9a473cf97dc2eb67e9370051d9ca6 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 9 Oct 2017 14:26:53 +0200 Subject: Use nullptr instead of NULL --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 925b474d73..872b2d1e0e 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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()); -- cgit v1.2.3