diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-06-08 14:03:57 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-06-08 14:03:57 -0500 |
commit | 09667700e8ea1a51052a89f382d36ed87e9cb749 (patch) | |
tree | 6423009deb7bfa9f5608ade82f3e287b4c27175b /src | |
parent | Merge pull request #6514 (diff) | |
parent | trezor: add new firmware version support (diff) | |
download | monero-09667700e8ea1a51052a89f382d36ed87e9cb749.tar.xz |
Merge pull request #6519
ab44293 trezor: add new firmware version support (ph4r05)
Diffstat (limited to 'src')
-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 |