remove unnecessary newline from initWarning() argument
This commit is contained in:
1 parent
fa2a5b8f3a
commit
804ac10631
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1308,7 +1308,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA
|
|||||||
LogPrintf("Config file: %s\n", config_file_path.string());
|
LogPrintf("Config file: %s\n", config_file_path.string());
|
||||||
} else if (args.IsArgSet("-conf")) {
|
} else if (args.IsArgSet("-conf")) {
|
||||||
// Warn if no conf file exists at path provided by user
|
// Warn if no conf file exists at path provided by user
|
||||||
InitWarning(strprintf(_("The specified config file %s does not exist\n"), config_file_path.string()));
|
InitWarning(strprintf(_("The specified config file %s does not exist"), config_file_path.string()));
|
||||||
} else {
|
} else {
|
||||||
// Not categorizing as "Warning" because it's the default behavior
|
// Not categorizing as "Warning" because it's the default behavior
|
||||||
LogPrintf("Config file: %s (not found, skipping)\n", config_file_path.string());
|
LogPrintf("Config file: %s (not found, skipping)\n", config_file_path.string());
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ bool VerifyWallets(interfaces::Chain& chain)
|
|||||||
bilingual_str error_string;
|
bilingual_str error_string;
|
||||||
if (!MakeWalletDatabase(wallet_file, options, status, error_string)) {
|
if (!MakeWalletDatabase(wallet_file, options, status, error_string)) {
|
||||||
if (status == DatabaseStatus::FAILED_NOT_FOUND) {
|
if (status == DatabaseStatus::FAILED_NOT_FOUND) {
|
||||||
chain.initWarning(Untranslated(strprintf("Skipping -wallet path that doesn't exist. %s\n", error_string.original)));
|
chain.initWarning(Untranslated(strprintf("Skipping -wallet path that doesn't exist. %s", error_string.original)));
|
||||||
} else {
|
} else {
|
||||||
chain.initError(error_string);
|
chain.initError(error_string);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in new issue
Block a user