mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-04 12:57:27 -04:00
add isTrezor() function
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user