From efb61a0e657159d8b3e6c8bec0cee3c391ac1a15 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Fri, 14 Mar 2025 21:45:20 +0100 Subject: [PATCH] fixup! chore(core): adapt trezorlib transports to session based [no changelog] --- python/src/trezorlib/transport/thp/thp_io.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/src/trezorlib/transport/thp/thp_io.py b/python/src/trezorlib/transport/thp/thp_io.py index 0ecc8b979f..7b73ef6f5c 100644 --- a/python/src/trezorlib/transport/thp/thp_io.py +++ b/python/src/trezorlib/transport/thp/thp_io.py @@ -24,7 +24,6 @@ def write_payload_to_wire_and_add_checksum( def write_payload_to_wire( transport: Transport, header: MessageHeader, transport_payload: bytes ): - transport.open() buffer = bytearray(transport_payload) if transport.CHUNK_SIZE is None: transport.write_chunk(buffer)