1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

common: add Feature.Shamir to features

This commit is contained in:
Pavol Rusnak 2019-08-27 17:13:07 +02:00
parent 72f6bf51cd
commit 74bc83726c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@ message Features {
Feature_Stellar = 12;
Feature_Tezos = 13;
Feature_U2F = 14;
Feature_Shamir = 15;
}
}

View File

@ -37,7 +37,7 @@ def get_features() -> Features:
f.flags = storage.device.get_flags()
f.recovery_mode = storage.recovery.is_in_progress()
if utils.BITCOIN_ONLY:
f.features = [Feature.Bitcoin, Feature.Crypto]
f.features = [Feature.Bitcoin, Feature.Crypto, Feature.Shamir]
else:
f.features = [
Feature.Bitcoin,
@ -54,6 +54,7 @@ def get_features() -> Features:
Feature.Stellar,
Feature.Tezos,
Feature.U2F,
Feature.Shamir,
]
return f