1
0
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:
Pavol Rusnak 2017-12-14 21:59:47 +01:00
parent b4933f969e
commit bc6d9b47a3
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -4,14 +4,14 @@ from trezor import config
_STORAGE_VERSION = b'\x01'
_APP = const(0x0001) # app namespace
_DEVICE_ID = const(0x0000) # bytes
_VERSION = const(0x0001) # int
_MNEMONIC = const(0x0002) # str
_LANGUAGE = const(0x0003) # str
_LABEL = const(0x0004) # str
_USE_PASSPHRASE = const(0x0005) # 0x01 or empty
_HOMESCREEN = const(0x0006) # bytes
_APP = const(0x01) # app namespace
_DEVICE_ID = const(0x00) # bytes
_VERSION = const(0x01) # int
_MNEMONIC = const(0x02) # str
_LANGUAGE = const(0x03) # str
_LABEL = const(0x04) # str
_USE_PASSPHRASE = const(0x05) # 0x01 or empty
_HOMESCREEN = const(0x06) # bytes
def get_device_id() -> str: