Skip to content

Commit 9da9dca

Browse files
committed
fixup! fix(python): handle missing THP continuations during multi-chunk payloads
1 parent 6dfdf41 commit 9da9dca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/trezor/wire/thp/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def _write_loop() -> Generator[Any, Any, None]:
457457
self._log(f"Sending {len(payload)} bytes, latency: {ack_latency_ms} ms")
458458

459459
for i in range(_MAX_RETRANSMISSION_COUNT):
460-
# Try to send the payload (split into packets), or raise if trasport is blocked
460+
# Try to send the payload (split into packets), or raise if transport is blocked
461461
yield from self._write_payload_once(header, payload)
462462
# Channel's estimated latency + a variable delay (from 200ms till ~3.52s)
463463
delay_ms = ack_latency_ms + round(10300 - 1010000 / (100 + i))

0 commit comments

Comments
 (0)