mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-05 13:01:12 +00:00
chore(core): remove TODO comment from received_message_handler
[no changelog]
This commit is contained in:
parent
5a65b5b1f3
commit
ab7293dd30
@ -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:
|
elif ctx.sessions[session_id].get_session_state() is SessionState.UNALLOCATED:
|
||||||
raise ThpUnallocatedSessionError(session_id)
|
raise ThpUnallocatedSessionError(session_id)
|
||||||
# TODO what should happen here? Should I create a new seedless session?
|
|
||||||
|
|
||||||
s = ctx.sessions[session_id]
|
s = ctx.sessions[session_id]
|
||||||
update_session_last_used(s.channel_id, (s.session_id).to_bytes(1, "big"))
|
update_session_last_used(s.channel_id, (s.session_id).to_bytes(1, "big"))
|
||||||
|
Loading…
Reference in New Issue
Block a user