mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-26 18:23:57 +01:00
implemented MoneroWallet::walletExists(const string& path)
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
using namespace std;
|
||||
using namespace epee;
|
||||
|
||||
bool MoneroWallet::walletExists(const string& path) {
|
||||
cout << "walletExists(" << path << ")" << endl;
|
||||
bool keyFileExists;
|
||||
bool walletFileExists;
|
||||
tools::wallet2::wallet_exists(path, keyFileExists, walletFileExists);
|
||||
return walletFileExists;
|
||||
}
|
||||
|
||||
MoneroWallet::MoneroWallet() {
|
||||
cout << "MoneroWallet()" << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user