From 5c9c153f42e4f84d86f1a0ea13425f5fab3afa25 Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 10 Apr 2020 11:27:13 -0400 Subject: [PATCH] log network_type in open_wallet, remove password from mtrace --- src/wallet/monero_wallet_core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/monero_wallet_core.cpp b/src/wallet/monero_wallet_core.cpp index ae4c4a1..17df5d1 100644 --- a/src/wallet/monero_wallet_core.cpp +++ b/src/wallet/monero_wallet_core.cpp @@ -800,7 +800,7 @@ namespace monero { } monero_wallet_core* monero_wallet_core::open_wallet(const string& path, const string& password, const monero_network_type network_type) { - MTRACE("open_wallet(" << path << ")"); + MTRACE("open_wallet(" << path << ", ***, " << network_type << ")"); monero_wallet_core* wallet = new monero_wallet_core(); wallet->m_w2 = unique_ptr(new tools::wallet2(static_cast(network_type), 1, true)); wallet->m_w2->load(path, password); @@ -918,7 +918,7 @@ namespace monero { } void monero_wallet_core::set_daemon_connection(const string& uri, const string& username, const string& password) { - MTRACE("set_daemon_connection(" << uri << ", " << username << ", " << password << ")"); + MTRACE("set_daemon_connection(" << uri << ", " << username << ", " << "***" << ")"); // prepare uri, login, and is_trusted for wallet2 boost::optional login{};