1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-18 11:21:11 +00:00

core: do not prompt for PIN just to lock the device again

This commit is contained in:
matejcik 2020-04-29 12:05:08 +02:00 committed by matejcik
parent 2cedc687e6
commit 06aed7135a

View File

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