From ab7293dd303ffaac6511e14d516a2de5986b63e3 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Thu, 19 Dec 2024 16:11:45 +0100 Subject: [PATCH] chore(core): remove TODO comment from received_message_handler [no changelog] --- core/src/trezor/wire/thp/received_message_handler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/trezor/wire/thp/received_message_handler.py b/core/src/trezor/wire/thp/received_message_handler.py index 13633e15f9..c2d39dbd1e 100644 --- a/core/src/trezor/wire/thp/received_message_handler.py +++ b/core/src/trezor/wire/thp/received_message_handler.py @@ -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"))