1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-19 01:26:06 +00:00

fix(python): better type hints for firmware fields

This commit is contained in:
matejcik 2023-02-02 13:29:56 +01:00 committed by matejcik
parent 3ed84a84e9
commit 248eafc4ca

View File

@ -51,10 +51,10 @@ class FirmwareHeader(Struct):
hw_model: Model
hw_revision: int
monotonic: int
hashes: t.Sequence[bytes]
hashes: t.List[bytes]
v1_signatures: t.Sequence[bytes]
v1_key_indexes: t.Sequence[int]
v1_signatures: t.List[bytes]
v1_key_indexes: t.List[int]
sigmask: int
signature: bytes