mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-19 08:39:03 +00:00
fixup! chore(python): session passphrase rework
This commit is contained in:
parent
d2960fe3bc
commit
13ee29338c
@ -1370,7 +1370,6 @@ class TrezorClientDebugLink(TrezorClient):
|
||||
passphrase: str | object | None = None,
|
||||
derive_cardano: bool = False,
|
||||
session_id: bytes | None = None,
|
||||
should_derive: bool = False,
|
||||
) -> SessionDebugWrapper:
|
||||
if isinstance(passphrase, str):
|
||||
passphrase = Mnemonic.normalize_string(passphrase)
|
||||
@ -1380,9 +1379,6 @@ class TrezorClientDebugLink(TrezorClient):
|
||||
)
|
||||
)
|
||||
session.passphrase = passphrase
|
||||
|
||||
if isinstance(session._session, SessionV1) and should_derive:
|
||||
derive_seed(session=session)
|
||||
return session
|
||||
|
||||
def get_seedless_session(
|
||||
|
Loading…
Reference in New Issue
Block a user