From 03081066e3176f0e1a4fe171f23cd174c4593db0 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 08d9a91066..c357e586ea 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"))