mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-13 10:08:08 +00:00
parent
4323b0ac2a
commit
d0ce2b9e39
@ -1,7 +1,7 @@
|
|||||||
from trezor import config
|
from trezor import config
|
||||||
|
|
||||||
from apps.common import cache
|
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:
|
def set_current_version() -> None:
|
||||||
@ -9,7 +9,7 @@ def set_current_version() -> None:
|
|||||||
|
|
||||||
|
|
||||||
def is_initialized() -> bool:
|
def is_initialized() -> bool:
|
||||||
return device.is_version_stored() and not recovery.is_in_progress()
|
return device.is_version_stored()
|
||||||
|
|
||||||
|
|
||||||
def wipe() -> None:
|
def wipe() -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user