[monero-project/monero] hw_device: support for multiple devices added [for review] (#4299)

moneromooo-monero commented on this pull request.

> @@ -3177,7 +3209,8 @@ bool wallet2::load_keys(const std::string& keys_file_name, const epee::wipeable_
r = epee::serialization::load_t_from_binary(m_account, account_data);
if (r && m_key_on_device) {
LOG_PRINT_L0(«Account on device. Initing device…»);
— hw::device &hwdev = hw::get_device(«Ledger»);
+ hw::device &hwdev = hw::get_device(m_device_name);

OK, if you tried it and it works it’s fine.