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:
Wladimir J. van der Laan 2019-02-05 03:32:02 +01:00
commit e50853501b
No known key found for this signature in database
GPG key ID: 1E4AED62986CD25D

View file

@ -58,7 +58,7 @@ static bool WalletAppInit(int argc, char* argv[])
}
// 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))) {
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());