diff options
author | Dusan Klinec <dusan.klinec@gmail.com> | 2020-05-12 16:30:46 +0200 |
---|---|---|
committer | Dusan Klinec <dusan.klinec@gmail.com> | 2020-05-12 16:31:36 +0200 |
commit | ab4429346ded86a19914717b7e8163c71d81ad66 (patch) | |
tree | f1cf7b425496b835ab95ab32c10ab12f256f4c0b | |
parent | Merge pull request #6510 (diff) | |
download | monero-ab4429346ded86a19914717b7e8163c71d81ad66.tar.xz |
trezor: add new firmware version support
-rw-r--r-- | src/device_trezor/device_trezor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/device_trezor/device_trezor.cpp b/src/device_trezor/device_trezor.cpp index 8bde1cb75..367327c70 100644 --- a/src/device_trezor/device_trezor.cpp +++ b/src/device_trezor/device_trezor.cpp @@ -678,8 +678,10 @@ namespace trezor { throw exc::TrezorException("Trezor firmware 2.0.10 and lower are not supported. Please update."); } - // default client version, higher versions check will be added unsigned client_version = 1; + if (trezor_version >= pack_version(2, 3, 1)){ + client_version = 3; + } #ifdef WITH_TREZOR_DEBUGGING // Override client version for tests |