start wallet trace statements

This commit is contained in:
woodser
2019-07-26 13:06:49 -04:00
parent a5a98d102a
commit a2b2ec2091
+2 -2
View File
@@ -731,7 +731,7 @@ namespace monero {
// ------------------------------- WALLET METHODS -----------------------------
bool MoneroWallet::walletExists(const string& path) {
cout << "walletExists(" << path << ")" << endl;
MTRACE("walletExists(" << path << ")");
bool keyFileExists;
bool walletFileExists;
tools::wallet2::wallet_exists(path, keyFileExists, walletFileExists);
@@ -739,7 +739,7 @@ namespace monero {
}
MoneroWallet::MoneroWallet(const string& path, const string& password, const MoneroNetworkType networkType) {
cout << "MoneroWallet(3b)" << endl;
MTRACE("openWallet(" << path << ", " << password << ", " << networkType << ")");
wallet2 = unique_ptr<tools::wallet2>(new tools::wallet2(static_cast<network_type>(networkType), 1, true));
wallet2->load(path, password);
wallet2->init("");