mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-04 21:05:29 +00:00
fix(python): better type hints for firmware fields
This commit is contained in:
parent
3ed84a84e9
commit
248eafc4ca
@ -51,10 +51,10 @@ class FirmwareHeader(Struct):
|
|||||||
hw_model: Model
|
hw_model: Model
|
||||||
hw_revision: int
|
hw_revision: int
|
||||||
monotonic: int
|
monotonic: int
|
||||||
hashes: t.Sequence[bytes]
|
hashes: t.List[bytes]
|
||||||
|
|
||||||
v1_signatures: t.Sequence[bytes]
|
v1_signatures: t.List[bytes]
|
||||||
v1_key_indexes: t.Sequence[int]
|
v1_key_indexes: t.List[int]
|
||||||
|
|
||||||
sigmask: int
|
sigmask: int
|
||||||
signature: bytes
|
signature: bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user