1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +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 5a2470e08e
commit d6eda55c45

View File

@ -1445,10 +1445,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,