Enable verifying wallet password with having to load wallet.

This commit is contained in:
m2049r 2017-08-02 00:41:05 +02:00
parent ab594cfee9
commit ad4649ac81
5 changed files with 36 additions and 3 deletions

View file

@ -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)
{