Merge pull request #6519

ab44293 trezor: add new firmware version support (ph4r05)
This commit is contained in:
luigi1111 2020-06-08 14:03:57 -05:00
commit 09667700e8
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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