1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

chore(core): remove TODO comment from received_message_handler

[no changelog]
This commit is contained in:
M1nd3r 2024-12-19 16:11:45 +01:00
parent 5a65b5b1f3
commit ab7293dd30

View File

@ -386,7 +386,6 @@ async def _handle_state_ENCRYPTED_TRANSPORT(ctx: Channel, message_length: int) -
elif ctx.sessions[session_id].get_session_state() is SessionState.UNALLOCATED:
raise ThpUnallocatedSessionError(session_id)
# TODO what should happen here? Should I create a new seedless session?
s = ctx.sessions[session_id]
update_session_last_used(s.channel_id, (s.session_id).to_bytes(1, "big"))