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

core: add BITCOIN_ONLY to mock file

This commit is contained in:
matejcik 2020-04-20 16:38:50 +02:00 committed by matejcik
parent d5e45c02bb
commit 87433995b0
3 changed files with 3 additions and 1 deletions

View File

@ -114,6 +114,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mod_trezorutils_halt_obj, 0, 1,
/// VERSION_PATCH: int
/// MODEL: str
/// EMULATOR: bool
/// BITCOIN_ONLY: bool
STATIC const mp_rom_map_elem_t mp_module_trezorutils_globals_table[] = {
{MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_trezorutils)},

View File

@ -33,3 +33,4 @@ VERSION_MINOR: int
VERSION_PATCH: int
MODEL: str
EMULATOR: bool
BITCOIN_ONLY: bool

View File

@ -1,6 +1,6 @@
import gc
import sys
from trezorutils import ( # type: ignore[attr-defined] # noqa: F401
from trezorutils import ( # noqa: F401
BITCOIN_ONLY,
EMULATOR,
GITREV,