diff --git a/core/src/apps/base.py b/core/src/apps/base.py index 4d65314fd..edc0f15ef 100644 --- a/core/src/apps/base.py +++ b/core/src/apps/base.py @@ -452,7 +452,9 @@ def reload_settings_from_storage() -> None: workflow.idle_timer.set( storage_device.get_autolock_delay_ms(), lock_device_if_unlocked ) - wire.EXPERIMENTAL_ENABLED = storage_device.get_experimental_features() + wire.message_handler.EXPERIMENTAL_ENABLED = ( + storage_device.get_experimental_features() + ) if ui.display.orientation() != storage_device.get_rotation(): ui.backlight_fade(ui.BacklightLevels.DIM) ui.display.orientation(storage_device.get_rotation()) diff --git a/core/src/trezor/wire/__init__.py b/core/src/trezor/wire/__init__.py index 5aad1ca2e..8cc1e8bf0 100644 --- a/core/src/trezor/wire/__init__.py +++ b/core/src/trezor/wire/__init__.py @@ -49,10 +49,6 @@ if TYPE_CHECKING: LoadedMessageType = TypeVar("LoadedMessageType", bound=protobuf.MessageType) -# If set to False protobuf messages marked with "experimental_message" option are rejected. -EXPERIMENTAL_ENABLED = False - - def setup(iface: WireInterface) -> None: """Initialize the wire stack on passed WireInterface.""" if utils.USE_THP: