common: add Feature.Shamir to features

pull/464/head
Pavol Rusnak 5 years ago
parent 72f6bf51cd
commit 74bc83726c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

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

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

Loading…
Cancel
Save