mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #11467: Fix typos. Use nullptr instead of NULL.
0aacfa4
Remove accidental stray semicolon (practicalswift)68feb49
Use nullptr instead of NULL (practicalswift)c6b07fd
Fix a vs. an typo (practicalswift) Pull request description: Minor cleanups: * Typo: Fix a vs. an typo * Typo: Remove accidental stray semicolon (only remaining instance in repo) * Correctness/consistency: Use `nullptr` instead of `NULL` (only remaining instance in repo) Tree-SHA512: 47142e557da9d3fa0b532c46edeb7f356a1f6dc5973e60b0e496badff3581ff696eade542d49da777ac7f2e895129cc8487ccdb1984ff828434fa86f9a56dad0
This commit is contained in:
commit
937613d215
@ -39,7 +39,7 @@ PREV_COMMIT=""
|
|||||||
while true; do
|
while true; do
|
||||||
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
|
if [ "$CURRENT_COMMIT" = $VERIFIED_ROOT ]; then
|
||||||
echo "There is a valid path from "$CURRENT_COMMIT" to $VERIFIED_ROOT where all commits are signed!"
|
echo "There is a valid path from "$CURRENT_COMMIT" to $VERIFIED_ROOT where all commits are signed!"
|
||||||
exit 0;
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CURRENT_COMMIT" = $VERIFIED_SHA512_ROOT ]; then
|
if [ "$CURRENT_COMMIT" = $VERIFIED_SHA512_ROOT ]; then
|
||||||
|
@ -291,7 +291,7 @@ struct ProxyCredentials
|
|||||||
std::string password;
|
std::string password;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Convert SOCKS5 reply to a an error message */
|
/** Convert SOCKS5 reply to an error message */
|
||||||
std::string Socks5ErrorString(uint8_t err)
|
std::string Socks5ErrorString(uint8_t err)
|
||||||
{
|
{
|
||||||
switch(err) {
|
switch(err) {
|
||||||
|
@ -3881,7 +3881,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 New Issue
Block a user