mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
Merge pull request #7790
bc8d764
wallet: rephrase error message on invalid device address (Dusan Klinec)
This commit is contained in:
commit
eeda76570c
1 changed files with 1 additions and 1 deletions
|
@ -4425,7 +4425,7 @@ bool wallet2::load_keys_buf(const std::string& keys_buf, const epee::wipeable_st
|
||||||
|
|
||||||
account_public_address device_account_public_address;
|
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(!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) +
|
"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));
|
", wallet address: " + m_account.get_public_address_str(m_nettype));
|
||||||
LOG_PRINT_L0("Device inited...");
|
LOG_PRINT_L0("Device inited...");
|
||||||
|
|
Loading…
Reference in a new issue