mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-23 11:35:42 +00:00
fixup! chore(core): adapt trezorlib transports to session based [no changelog]
This commit is contained in:
parent
af1c79a9f2
commit
ee102b5a35
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user