mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 10:08:53 +00:00
device/trezor: button request callback fix
This commit is contained in:
parent
7973fb6a69
commit
fbbe75d75f
@ -412,10 +412,11 @@ namespace trezor {
|
|||||||
CHECK_AND_ASSERT_THROW_MES(msg, "Empty message");
|
CHECK_AND_ASSERT_THROW_MES(msg, "Empty message");
|
||||||
MDEBUG("on_button_request, code: " << msg->code());
|
MDEBUG("on_button_request, code: " << msg->code());
|
||||||
|
|
||||||
|
TREZOR_CALLBACK(on_button_request, msg->code());
|
||||||
|
|
||||||
messages::common::ButtonAck ack;
|
messages::common::ButtonAck ack;
|
||||||
write_raw(&ack);
|
write_raw(&ack);
|
||||||
|
|
||||||
TREZOR_CALLBACK(on_button_request, msg->code());
|
|
||||||
resp = read_raw();
|
resp = read_raw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user