diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:53:40 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-08-02 18:53:40 -0400 |
commit | 3eb8f1458bee54962986cb87676bff3be88c829d (patch) | |
tree | 3a98914a6cde6b2b46b5b3245fada8aa376adaee | |
parent | Merge pull request #7815 (diff) | |
parent | wallet: rephrase error message on invalid device address (diff) | |
download | monero-3eb8f1458bee54962986cb87676bff3be88c829d.tar.xz |
Merge pull request #7791
7e3f211 wallet: rephrase error message on invalid device address (Dusan Klinec)
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 642777797..af4c43b7e 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -4364,7 +4364,7 @@ bool wallet2::load_keys_buf(const std::string& keys_buf, const epee::wipeable_st account_public_address device_account_public_address; THROW_WALLET_EXCEPTION_IF(!hwdev.get_public_address(device_account_public_address), error::wallet_internal_error, "Cannot get a device address"); - THROW_WALLET_EXCEPTION_IF(device_account_public_address != m_account.get_keys().m_account_address, error::wallet_internal_error, "Device wallet does not match wallet address. " + THROW_WALLET_EXCEPTION_IF(device_account_public_address != m_account.get_keys().m_account_address, error::wallet_internal_error, "Device wallet does not match wallet address. If the device uses the passphrase feature, please check whether the passphrase was entered correctly (it may have been misspelled - different passphrases generate different wallets, passphrase is case-sensitive). " "Device address: " + cryptonote::get_account_address_as_str(m_nettype, false, device_account_public_address) + ", wallet address: " + m_account.get_public_address_str(m_nettype)); LOG_PRINT_L0("Device inited..."); |