diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-03-04 19:03:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-03-04 19:03:41 +0200 |
commit | c7ace5fa3d412410312e21c55c28068dcd625fef (patch) | |
tree | fba40dea29a948b8a4904b4de189d4adc605ec6e /src/wallet/api/wallet_manager.cpp | |
parent | Merge pull request #3245 (diff) | |
parent | Code modifications to integrate Ledger HW device into monero-wallet-cli. (diff) | |
download | monero-c7ace5fa3d412410312e21c55c28068dcd625fef.tar.xz |
Merge pull request #3303
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp index bb144227e..22bc343fb 100644 --- a/src/wallet/api/wallet_manager.cpp +++ b/src/wallet/api/wallet_manager.cpp @@ -37,7 +37,7 @@ #include "common/updates.h" #include "version.h" #include "net/http_client.h" - +#include "deviuce/device.hpp" #include <boost/filesystem.hpp> #include <boost/regex.hpp> @@ -151,7 +151,7 @@ bool WalletManagerImpl::walletExists(const std::string &path) bool WalletManagerImpl::verifyWalletPassword(const std::string &keys_file_name, const std::string &password, bool no_spend_key) const { - return tools::wallet2::verify_password(keys_file_name, password, no_spend_key); + return tools::wallet2::verify_password(keys_file_name, password, no_spend_key, hw::get_device("default")); } std::vector<std::string> WalletManagerImpl::findWallets(const std::string &path) |