From 75e04d56b29baad90c627bd8dc5f02e54e5caf3c Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 25 Jan 2021 18:19:16 -0500 Subject: [PATCH] check for key file to indicate wallet existence --- src/wallet/monero_wallet_full.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/monero_wallet_full.cpp b/src/wallet/monero_wallet_full.cpp index 2b63e7e..e1f6522 100644 --- a/src/wallet/monero_wallet_full.cpp +++ b/src/wallet/monero_wallet_full.cpp @@ -945,7 +945,7 @@ namespace monero { bool key_file_exists; bool wallet_file_exists; tools::wallet2::wallet_exists(path, key_file_exists, wallet_file_exists); - return wallet_file_exists; + return key_file_exists; } monero_wallet_full* monero_wallet_full::open_wallet(const std::string& path, const std::string& password, const monero_network_type network_type) {