mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 03:29:24 +00:00
wallet: don't require device interaction for getAddressSafe
This commit is contained in:
parent
72941f517c
commit
4f49d75eda
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ QString Wallet::getAddressSafe(quint32 accountIndex, quint32 addressIndex, bool
|
|||
// subaddress public spendkey (Di) = Hs(secret viewkey || subaddress index)G + primary address public spendkey (B)
|
||||
// subaddress public viewkey (Ci) = D * secret viewkey (a)
|
||||
|
||||
if (!m_wallet2->verify_keys()) {
|
||||
if (m_wallet2->get_device_type() == hw::device::SOFTWARE && !m_wallet2->verify_keys()) {
|
||||
reason = "Unable to verify viewkey";
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue