aboutsummaryrefslogtreecommitdiff
path: root/src/libwalletqt/Wallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libwalletqt/Wallet.cpp')
-rw-r--r--src/libwalletqt/Wallet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp
index 2d7f6722..dc4481ba 100644
--- a/src/libwalletqt/Wallet.cpp
+++ b/src/libwalletqt/Wallet.cpp
@@ -239,6 +239,11 @@ bool Wallet::isLedger() const
return m_walletImpl->getDeviceType() == Monero::Wallet::Device_Ledger;
}
+bool Wallet::isTrezor() const
+{
+ return m_walletImpl->getDeviceType() == Monero::Wallet::Device_Trezor;
+}
+
//! create a view only wallet
bool Wallet::createViewOnly(const QString &path, const QString &password) const
{