mirror of
https://github.com/monero-project/monero.git
synced 2025-05-19 21:30:22 -04:00
Enable verifying wallet password with having to load wallet.
This commit is contained in:
parent
ab594cfee9
commit
ad4649ac81
5 changed files with 36 additions and 3 deletions
|
@ -125,6 +125,10 @@ bool WalletManagerImpl::walletExists(const std::string &path)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool WalletManagerImpl::verifyWalletPassword(const std::string &keys_file_name, const std::string &password, bool watch_only) const
|
||||
{
|
||||
return tools::wallet2::verify_password(keys_file_name, password, watch_only);
|
||||
}
|
||||
|
||||
std::vector<std::string> WalletManagerImpl::findWallets(const std::string &path)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue