diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2018-11-28 22:22:11 +0100 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2018-12-04 20:12:03 +0100 |
commit | d71f89e2a26720021f7509f8c1eee87645f48529 (patch) | |
tree | 9086c377f1e47f862e064251a92f8b260f21540a /src/device_trezor/trezor | |
parent | device/trezor: python2 compatibility - bundle dependencies (diff) | |
download | monero-d71f89e2a26720021f7509f8c1eee87645f48529.tar.xz |
device/trezor: device/trezor: correct device initialization, status check
- checks if the device is in the correct usable state
- implements check for the v2.0.9 firmware which does not support payment IDs
- simple transacttion check, payment id fmt consistency
- minor fixes, refactoring, webusb session counting fix
Diffstat (limited to 'src/device_trezor/trezor')
-rw-r--r-- | src/device_trezor/trezor/transport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_trezor/trezor/transport.cpp b/src/device_trezor/trezor/transport.cpp index 814537eb6..cd66e59e8 100644 --- a/src/device_trezor/trezor/transport.cpp +++ b/src/device_trezor/trezor/transport.cpp @@ -840,7 +840,7 @@ namespace trezor{ throw exc::DeviceAcquireException("Unable to claim libusb device"); } - m_conn_count += 1; + m_conn_count = 1; m_proto->session_begin(*this); #undef TREZOR_DESTROY_SESSION |