1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-08 03:16:13 +00:00

fixup! fixup! feat(python): implement session based trezorlib

This commit is contained in:
M1nd3r 2025-03-28 15:28:27 +01:00
parent ea3519cf93
commit 6e1b9de2ee

View File

@ -212,8 +212,6 @@ class SessionV1(Session):
)
assert isinstance(resp, messages.Features)
if new_session:
assert resp.session_id is not None
assert len(resp.session_id) == 32
self.id = resp.session_id
elif self.id != resp.session_id:
raise exceptions.FailedSessionResumption(resp.session_id)