Skip to content

Commit e1b6436

Browse files
committed
Fix build after pr 15266 merged
1 parent 452acee commit e1b6436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitcoin-wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static bool WalletAppInit(int argc, char* argv[])
5858
}
5959

6060
// check for printtoconsole, allow -debug
61-
g_logger->m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
61+
LogInstance().m_print_to_console = gArgs.GetBoolArg("-printtoconsole", gArgs.GetBoolArg("-debug", false));
6262

6363
if (!fs::is_directory(GetDataDir(false))) {
6464
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", gArgs.GetArg("-datadir", "").c_str());

0 commit comments

Comments
 (0)