1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-27 15:51:02 +00:00

fixup! fixup! wip - change session behavior [no changelog]

This commit is contained in:
M1nd3r 2024-12-09 16:58:15 +01:00
parent 339e26b811
commit 48e12df05f

View File

@ -1453,10 +1453,11 @@ class TrezorClientDebugLink(TrezorClient):
self,
passphrase: str | object | None = "",
derive_cardano: bool = False,
session_id: int = 0,
) -> Session:
if isinstance(passphrase, str):
passphrase = Mnemonic.normalize_string(passphrase)
return super().get_session(passphrase, derive_cardano)
return super().get_session(passphrase, derive_cardano, session_id)
def set_filter(
self,