mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 05:58:53 +00:00
trezor: add new firmware version support
This commit is contained in:
parent
77a008f714
commit
ab4429346d
@ -678,8 +678,10 @@ namespace trezor {
|
|||||||
throw exc::TrezorException("Trezor firmware 2.0.10 and lower are not supported. Please update.");
|
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;
|
unsigned client_version = 1;
|
||||||
|
if (trezor_version >= pack_version(2, 3, 1)){
|
||||||
|
client_version = 3;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef WITH_TREZOR_DEBUGGING
|
#ifdef WITH_TREZOR_DEBUGGING
|
||||||
// Override client version for tests
|
// Override client version for tests
|
||||||
|
Loading…
Reference in New Issue
Block a user