1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-22 05:10:56 +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 2bb493c270
commit 56ab29e801

View File

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