From 93f18b09bd3c276793efec99f583eeb82459ab63 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 27 Aug 2019 17:30:49 +0200 Subject: [PATCH] core+python: regenerate Features --- core/src/trezor/messages/Feature.py | 1 + core/src/trezor/messages/Features.py | 4 ++-- python/src/trezorlib/messages/Feature.py | 1 + python/src/trezorlib/messages/Features.py | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/core/src/trezor/messages/Feature.py b/core/src/trezor/messages/Feature.py index 2b42320386..a71405d135 100644 --- a/core/src/trezor/messages/Feature.py +++ b/core/src/trezor/messages/Feature.py @@ -18,3 +18,4 @@ if not utils.BITCOIN_ONLY: Stellar = 12 Tezos = 13 U2F = 14 +Shamir = 15 diff --git a/core/src/trezor/messages/Features.py b/core/src/trezor/messages/Features.py index b9e517f9ce..338d65578a 100644 --- a/core/src/trezor/messages/Features.py +++ b/core/src/trezor/messages/Features.py @@ -6,7 +6,7 @@ if __debug__: try: from typing import Dict, List, Optional from typing_extensions import Literal # noqa: F401 - EnumTypeFeature = Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] + EnumTypeFeature = Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] except ImportError: Dict, List, Optional = None, None, None # type: ignore EnumTypeFeature = None # type: ignore @@ -108,5 +108,5 @@ class Features(p.MessageType): 27: ('unfinished_backup', p.BoolType, 0), 28: ('no_backup', p.BoolType, 0), 29: ('recovery_mode', p.BoolType, 0), - 30: ('features', p.EnumType("Feature", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)), p.FLAG_REPEATED), + 30: ('features', p.EnumType("Feature", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)), p.FLAG_REPEATED), } diff --git a/python/src/trezorlib/messages/Feature.py b/python/src/trezorlib/messages/Feature.py index 3f4a31b140..d170a1de3f 100644 --- a/python/src/trezorlib/messages/Feature.py +++ b/python/src/trezorlib/messages/Feature.py @@ -14,3 +14,4 @@ Ripple = 11 Stellar = 12 Tezos = 13 U2F = 14 +Shamir = 15 diff --git a/python/src/trezorlib/messages/Features.py b/python/src/trezorlib/messages/Features.py index b487cc476c..8c12a96ae0 100644 --- a/python/src/trezorlib/messages/Features.py +++ b/python/src/trezorlib/messages/Features.py @@ -6,7 +6,7 @@ if __debug__: try: from typing import Dict, List, Optional from typing_extensions import Literal # noqa: F401 - EnumTypeFeature = Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] + EnumTypeFeature = Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] except ImportError: Dict, List, Optional = None, None, None # type: ignore EnumTypeFeature = None # type: ignore @@ -108,5 +108,5 @@ class Features(p.MessageType): 27: ('unfinished_backup', p.BoolType, 0), 28: ('no_backup', p.BoolType, 0), 29: ('recovery_mode', p.BoolType, 0), - 30: ('features', p.EnumType("Feature", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)), p.FLAG_REPEATED), + 30: ('features', p.EnumType("Feature", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)), p.FLAG_REPEATED), }