storage: use one char for value ids

pull/25/head
Pavol Rusnak 7 years ago
parent b4933f969e
commit bc6d9b47a3
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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:

Loading…
Cancel
Save