mirror of
https://github.com/monero-project/monero.git
synced 2026-08-02 08:58:06 -07:00
device/trezor: add button pressed request
This commit is contained in:
@@ -978,6 +978,12 @@ void wallet_device_callback::on_button_request(uint64_t code)
|
||||
wallet->on_device_button_request(code);
|
||||
}
|
||||
|
||||
void wallet_device_callback::on_button_pressed()
|
||||
{
|
||||
if (wallet)
|
||||
wallet->on_device_button_pressed();
|
||||
}
|
||||
|
||||
boost::optional<epee::wipeable_string> wallet_device_callback::on_pin_request()
|
||||
{
|
||||
if (wallet)
|
||||
@@ -12855,6 +12861,12 @@ void wallet2::on_device_button_request(uint64_t code)
|
||||
m_callback->on_device_button_request(code);
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
void wallet2::on_device_button_pressed()
|
||||
{
|
||||
if (nullptr != m_callback)
|
||||
m_callback->on_device_button_pressed();
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
boost::optional<epee::wipeable_string> wallet2::on_device_pin_request()
|
||||
{
|
||||
if (nullptr != m_callback)
|
||||
|
||||
Reference in New Issue
Block a user