From 248eafc4ca879f1c5f00a511c336e43810e1b781 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 2 Feb 2023 13:29:56 +0100 Subject: [PATCH] fix(python): better type hints for firmware fields --- python/src/trezorlib/firmware/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/src/trezorlib/firmware/core.py b/python/src/trezorlib/firmware/core.py index 934dfb285..2c6e453ae 100644 --- a/python/src/trezorlib/firmware/core.py +++ b/python/src/trezorlib/firmware/core.py @@ -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