You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/src/apps/management/apply_flags.py

9 lines
198 B

from trezor.messages.Success import Success
from apps.common.storage.device import set_flags
async def apply_flags(ctx, msg):
set_flags(msg.flags)
return Success(message="Flags applied")