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 | |
| parent | 421ab3119ce8ccbf73ad12d736d3daa897fa0347 (diff) | |
| parent | e745c1e38da8e54032660894bb2db0e9a49cccf2 (diff) | |
| download | monzero-core-c7ace5fa3d412410312e21c55c28068dcd625fef.tar.gz monzero-core-c7ace5fa3d412410312e21c55c28068dcd625fef.tar.xz monzero-core-c7ace5fa3d412410312e21c55c28068dcd625fef.zip | |
Merge pull request #3303
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
Diffstat (limited to 'src/wallet/api')
| -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) |
