diff options
Diffstat (limited to 'src/libwalletqt/Wallet.cpp')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index adc7d35a..592559e2 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -258,6 +258,11 @@ bool Wallet::isHwBacked() const return m_walletImpl->getDeviceType() != Monero::Wallet::Device_Software; } +bool Wallet::isLedger() const +{ + return m_walletImpl->getDeviceType() == Monero::Wallet::Device_Ledger; +} + //! create a view only wallet bool Wallet::createViewOnly(const QString &path, const QString &password) const { |
