diff options
author | m2049r <m2049r@monerujo.io> | 2018-08-16 10:31:48 +0200 |
---|---|---|
committer | m2049r <m2049r@monerujo.io> | 2018-09-19 18:25:38 +0200 |
commit | bce474be7d9cfa80d9f0970047bfd508db60424f (patch) | |
tree | 438aa4f3d4e2e5a2f8d56ef8747b522b44013e76 /src/wallet/api/wallet.cpp | |
parent | Merge pull request #4391 (diff) | |
download | monero-bce474be7d9cfa80d9f0970047bfd508db60424f.tar.xz |
query backing device
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 463185284..8b25096a2 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -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(); |