diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-18 22:03:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-18 22:03:30 +0200 |
commit | 2267f110b280ffa2b64f1082532356bdad3c3b49 (patch) | |
tree | 37443d31248d4949bd0029c811567d6801e2bd44 | |
parent | Merge pull request #5461 (diff) | |
parent | device/trezor: button request callback fix (diff) | |
download | monero-2267f110b280ffa2b64f1082532356bdad3c3b49.tar.xz |
Merge pull request #5463
fbbe75d7 device/trezor: button request callback fix (Dusan Klinec)
-rw-r--r-- | src/device_trezor/device_trezor_base.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_trezor/device_trezor_base.cpp b/src/device_trezor/device_trezor_base.cpp index 58abde1d1..5adadbfc4 100644 --- a/src/device_trezor/device_trezor_base.cpp +++ b/src/device_trezor/device_trezor_base.cpp @@ -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(); } |