wallet2: fix error message

This commit is contained in:
jpk68
2026-07-18 15:38:24 -04:00
parent 95e126f3c5
commit c1eda464e4
+1 -1
View File
@@ -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). " 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 initiated...");
} else if (key_on_device()) { } else if (key_on_device()) {
THROW_WALLET_EXCEPTION(error::wallet_internal_error, "hardware device not supported"); THROW_WALLET_EXCEPTION(error::wallet_internal_error, "hardware device not supported");
} }