Skip to content

Commit

Permalink
chore(core): enable reboot-to-bootloader without experimental features
Browse files Browse the repository at this point in the history
  • Loading branch information
grdddj committed Feb 21, 2023
1 parent fa34247 commit 6c50166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions core/.changelog.d/2841.changed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reboot to bootloader does not require experimental features
6 changes: 1 addition & 5 deletions core/src/apps/management/reboot_to_bootloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@


async def reboot_to_bootloader(ctx: Context, msg: RebootToBootloader) -> NoReturn:
import storage.device
from trezor import io, loop, utils, wire
from trezor import io, loop, utils
from trezor.messages import Success
from trezor.ui.layouts import confirm_action

if not storage.device.get_experimental_features():
raise wire.UnexpectedMessage("Experimental features are not enabled")

await confirm_action(
ctx,
"reboot",
Expand Down

0 comments on commit 6c50166

Please sign in to comment.