mirror of
https://github.com/monero-project/monero.git
synced 2026-01-13 13:27:34 -08:00
@@ -2571,6 +2571,23 @@ void WalletImpl::deviceShowAddress(uint32_t accountIndex, uint32_t addressIndex,
|
||||
|
||||
m_wallet->device_show_address(accountIndex, addressIndex, payment_id_param);
|
||||
}
|
||||
|
||||
bool WalletImpl::reconnectDevice()
|
||||
{
|
||||
clearStatus();
|
||||
|
||||
bool r;
|
||||
try {
|
||||
r = m_wallet->reconnect_device();
|
||||
}
|
||||
catch (const std::exception &e) {
|
||||
LOG_ERROR(__FUNCTION__ << " error: " << e.what());
|
||||
setStatusError(e.what());
|
||||
return false;
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
namespace Bitmonero = Monero;
|
||||
|
||||
Reference in New Issue
Block a user