mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-18 19:31:04 +00:00
core: do not prompt for PIN just to lock the device again
This commit is contained in:
parent
2cedc687e6
commit
06aed7135a
@ -120,6 +120,7 @@ async def handle_Ping(ctx: wire.Context, msg: Ping) -> Success:
|
|||||||
ALLOW_WHILE_LOCKED = (
|
ALLOW_WHILE_LOCKED = (
|
||||||
MessageType.Initialize,
|
MessageType.Initialize,
|
||||||
MessageType.GetFeatures,
|
MessageType.GetFeatures,
|
||||||
|
MessageType.LockDevice,
|
||||||
MessageType.WipeDevice,
|
MessageType.WipeDevice,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user