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 f81a7444fa
commit cf49ded110

View File

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