mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 16:37:48 -07:00
Merge pull request #5355
c68fe787device/trezor: add button pressed request (Dusan Klinec)827f52adwallet: API changes to enable passphrase entry (Dusan Klinec)
This commit is contained in:
@@ -992,6 +992,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)
|
||||
@@ -12946,6 +12952,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