From bce474be7d9cfa80d9f0970047bfd508db60424f Mon Sep 17 00:00:00 2001 From: m2049r Date: Thu, 16 Aug 2018 10:31:48 +0200 Subject: query backing device --- src/wallet/api/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/wallet/api/wallet.cpp') 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(m_wallet->get_device_type()); +} + bool WalletImpl::open(const std::string &path, const std::string &password) { clearStatus(); -- cgit v1.2.3