diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-18 18:04:45 +0200 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2019-04-18 18:04:54 +0200 |
commit | fbbe75d75faaa97b614a9d667050ecfb43310f6f (patch) | |
tree | 95c8f32aeb6cb497b343b7536bc33e152b9491da | |
parent | Merge pull request #5415 (diff) | |
download | monero-fbbe75d75faaa97b614a9d667050ecfb43310f6f.tar.xz |
device/trezor: button request callback fix
-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(); } |