mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge #15347: Fix build after pr 15266 merged
e1b6436aad
Fix build after pr 15266 merged (Hennadii Stepanov)
Pull request description:
Ref: #15266
Tree-SHA512: 6647264c3e3d94f0f10dc3bed1b82dfe8ed1192906270b0bb79f4d018807e06cb42286c86ced7fee0e2b38284739657336672c5a30650b6473ffafd65c315349
This commit is contained in:
commit
e50853501b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static bool WalletAppInit(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for printtoconsole, allow -debug
|
// check for printtoconsole, allow -debug
|
||||||
g_logger->m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
|
LogInstance().m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
|
||||||
|
|
||||||
if (!fs::is_directory(GetDataDir(false))) {
|
if (!fs::is_directory(GetDataDir(false))) {
|
||||||
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());
|
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());
|
||||||
|
|
Loading…
Reference in a new issue