[rpcli] verifykeys.cpp: Remove some extra newlines.

Forgot to remove these when colorizing warning messages in
commit 365a7d5302.
([rpcli] verifykeys.cpp: Colorize output.)

Affects: v2.5.1
This commit is contained in:
David Korth 2025-05-10 23:02:22 -04:00
parent 53b74e0467
commit 0328879a01

View File

@ -77,7 +77,7 @@ int VerifyKeys(void)
if (!key) {
ConsoleSetTextColor(&ci_stdout, 3, true); // yellow
ConsolePrint(&ci_stdout,
fmt::format(FRUN(C_("rpcli", "WARNING: Key [{:d},{:d}] has no Key object. Skipping...")), sectIdx, keyIdx), true);
fmt::format(FRUN(C_("rpcli", "WARNING: Key [{:d},{:d}] has no Key object. Skipping...")), sectIdx, keyIdx));
ConsoleResetTextColor(&ci_stdout);
ConsolePrintNewline(&ci_stdout);
fflush(stdout);
@ -88,7 +88,7 @@ int VerifyKeys(void)
if (key->name.empty()) {
ConsoleSetTextColor(&ci_stdout, 3, true); // yellow
ConsolePrint(&ci_stdout,
fmt::format(FRUN(C_("rpcli", "WARNING: Key [{:d},{:d}] has no name. Skipping...")), sectIdx, keyIdx), true);
fmt::format(FRUN(C_("rpcli", "WARNING: Key [{:d},{:d}] has no name. Skipping...")), sectIdx, keyIdx));
ConsoleResetTextColor(&ci_stdout);
ConsolePrintNewline(&ci_stdout);
fflush(stdout);