1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

core: add Cancel to a list of allowed messages while locked

This commit is contained in:
matejcik 2020-05-25 15:20:43 +02:00 committed by matejcik
parent f32c2f9e23
commit bc9247e18d

View File

@ -119,6 +119,7 @@ async def handle_Ping(ctx: wire.Context, msg: Ping) -> Success:
ALLOW_WHILE_LOCKED = (
MessageType.Initialize,
MessageType.GetFeatures,
MessageType.Cancel,
MessageType.LockDevice,
MessageType.WipeDevice,
)