mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #5463
fbbe75d7
device/trezor: button request callback fix (Dusan Klinec)
This commit is contained in:
commit
2267f110b2
@ -412,10 +412,11 @@ namespace trezor {
|
||||
CHECK_AND_ASSERT_THROW_MES(msg, "Empty message");
|
||||
MDEBUG("on_button_request, code: " << msg->code());
|
||||
|
||||
TREZOR_CALLBACK(on_button_request, msg->code());
|
||||
|
||||
messages::common::ButtonAck ack;
|
||||
write_raw(&ack);
|
||||
|
||||
TREZOR_CALLBACK(on_button_request, msg->code());
|
||||
resp = read_raw();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user