1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

fix(core): add default value to channel.waiting_for_ack_timeout

This commit is contained in:
M1nd3r 2024-04-29 11:11:18 +02:00
parent 5187869f3b
commit 707361fccb

View File

@ -49,7 +49,7 @@ class Channel(Context):
super().__init__(iface, channel_cache.channel_id)
self.channel_cache = channel_cache
self.buffer: utils.BufferType
self.waiting_for_ack_timeout: loop.spawn | None
self.waiting_for_ack_timeout: loop.spawn | None = None
self.is_cont_packet_expected: bool = False
self.expected_payload_length: int = 0
self.bytes_read = 0