1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

chore(core): adapt emu.py to new trezorlib

[no changelog]
This commit is contained in:
M1nd3r 2024-12-02 15:38:30 +01:00
parent c2fe4eddb0
commit fe5dcaa372

View File

@ -282,9 +282,11 @@ def cli(
label = "Emulator"
assert emulator.client is not None
trezorlib.device.wipe(emulator.client)
trezorlib.device.wipe(emulator.client.get_management_session())
emulator.client = emulator.client.get_new_client()
trezorlib.debuglink.load_device(
emulator.client,
emulator.client.get_management_session(),
mnemonics,
pin=None,
passphrase_protection=False,