Skip to content

Commit 804ac10

Browse files
committed
remove unnecessary newline from initWarning() argument
1 parent fa2a5b8 commit 804ac10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ bool AppInitMain(const util::Ref& context, NodeContext& node, interfaces::BlockA
13081308
LogPrintf("Config file: %s\n", config_file_path.string());
13091309
} else if (args.IsArgSet("-conf")) {
13101310
// Warn if no conf file exists at path provided by user
1311-
InitWarning(strprintf(_("The specified config file %s does not exist\n"), config_file_path.string()));
1311+
InitWarning(strprintf(_("The specified config file %s does not exist"), config_file_path.string()));
13121312
} else {
13131313
// Not categorizing as "Warning" because it's the default behavior
13141314
LogPrintf("Config file: %s (not found, skipping)\n", config_file_path.string());

src/wallet/load.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ bool VerifyWallets(interfaces::Chain& chain)
7676
bilingual_str error_string;
7777
if (!MakeWalletDatabase(wallet_file, options, status, error_string)) {
7878
if (status == DatabaseStatus::FAILED_NOT_FOUND) {
79-
chain.initWarning(Untranslated(strprintf("Skipping -wallet path that doesn't exist. %s\n", error_string.original)));
79+
chain.initWarning(Untranslated(strprintf("Skipping -wallet path that doesn't exist. %s", error_string.original)));
8080
} else {
8181
chain.initError(error_string);
8282
return false;

0 commit comments

Comments
 (0)