1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-23 13:51:00 +00:00

Merge pull request #425 from trezor/tsusanka/iss387-init-fix

core: fix initialized to be unrelated to recovery
This commit is contained in:
Tomas Susanka 2019-08-21 15:51:45 +02:00 committed by GitHub
commit b65cabc67c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: