mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
storage: use one char for value ids
This commit is contained in:
parent
b4933f969e
commit
bc6d9b47a3
@ -4,14 +4,14 @@ from trezor import config
|
|||||||
|
|
||||||
_STORAGE_VERSION = b'\x01'
|
_STORAGE_VERSION = b'\x01'
|
||||||
|
|
||||||
_APP = const(0x0001) # app namespace
|
_APP = const(0x01) # app namespace
|
||||||
_DEVICE_ID = const(0x0000) # bytes
|
_DEVICE_ID = const(0x00) # bytes
|
||||||
_VERSION = const(0x0001) # int
|
_VERSION = const(0x01) # int
|
||||||
_MNEMONIC = const(0x0002) # str
|
_MNEMONIC = const(0x02) # str
|
||||||
_LANGUAGE = const(0x0003) # str
|
_LANGUAGE = const(0x03) # str
|
||||||
_LABEL = const(0x0004) # str
|
_LABEL = const(0x04) # str
|
||||||
_USE_PASSPHRASE = const(0x0005) # 0x01 or empty
|
_USE_PASSPHRASE = const(0x05) # 0x01 or empty
|
||||||
_HOMESCREEN = const(0x0006) # bytes
|
_HOMESCREEN = const(0x06) # bytes
|
||||||
|
|
||||||
|
|
||||||
def get_device_id() -> str:
|
def get_device_id() -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user