Merge pull request #2353

40bdf69 Ledger: improve hw wallet splash screen (selsta)
This commit is contained in:
luigi1111
2019-08-27 14:55:15 -05:00
4 changed files with 12 additions and 2 deletions

View File

@@ -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
{