aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2019-02-05 03:32:02 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2019-02-05 03:36:47 +0100
commite50853501b79378597edbcd6dd217819c057de4b (patch)
tree8f509bf6be6709937b133a9d6a41a3369af240e5
parent452acee4da206eb8792505914fd92245246b2290 (diff)
parente1b6436aad2bac5d3051740e02430f339bc7ecc5 (diff)
Merge #15347: Fix build after pr 15266 merged
e1b6436aad2bac5d3051740e02430f339bc7ecc5 Fix build after pr 15266 merged (Hennadii Stepanov) Pull request description: Ref: #15266 Tree-SHA512: 6647264c3e3d94f0f10dc3bed1b82dfe8ed1192906270b0bb79f4d018807e06cb42286c86ced7fee0e2b38284739657336672c5a30650b6473ffafd65c315349
-rw-r--r--src/bitcoin-wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-wallet.cpp b/src/bitcoin-wallet.cpp
index 293e3efa5c..11caa0dc6c 100644
--- a/src/bitcoin-wallet.cpp
+++ b/src/bitcoin-wallet.cpp
@@ -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());