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

core: fix initialized to be unrelated to recovery

closes #387
This commit is contained in:
Tomas Susanka 2019-08-21 14:06:31 +02:00
parent 4323b0ac2a
commit d0ce2b9e39

View File

@ -1,7 +1,7 @@
from trezor import config
from apps.common import cache
from apps.common.storage import common, device, recovery
from apps.common.storage import common, device
def set_current_version() -> None:
@ -9,7 +9,7 @@ def set_current_version() -> None:
def is_initialized() -> bool:
return device.is_version_stored() and not recovery.is_in_progress()
return device.is_version_stored()
def wipe() -> None: