mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
wallet2: fix error message
This commit is contained in:
@@ -5340,7 +5340,7 @@ bool wallet2::load_keys_buf(const std::string& keys_buf, const epee::wipeable_st
|
||||
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...");
|
||||
LOG_PRINT_L0("Device initiated...");
|
||||
} else if (key_on_device()) {
|
||||
THROW_WALLET_EXCEPTION(error::wallet_internal_error, "hardware device not supported");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user