query backing device

This commit is contained in:
m2049r
2018-08-16 10:31:48 +02:00
parent bad2c7cf31
commit bce474be7d
10 changed files with 123 additions and 17 deletions

View File

@@ -639,6 +639,11 @@ bool WalletImpl::recoverFromDevice(const std::string &path, const std::string &p
return true;
}
Wallet::Device WalletImpl::getDeviceType() const
{
return static_cast<Wallet::Device>(m_wallet->get_device_type());
}
bool WalletImpl::open(const std::string &path, const std::string &password)
{
clearStatus();