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

fix: try to fix emu.py

This commit is contained in:
M1nd3r 2024-11-20 15:21:26 +01:00
parent e29c8d5dd6
commit 39062a76f8

View File

@ -276,9 +276,11 @@ def cli(
label = "Emulator" label = "Emulator"
assert emulator.client is not None 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( trezorlib.debuglink.load_device(
emulator.client, emulator.client.get_management_session(),
mnemonics, mnemonics,
pin=None, pin=None,
passphrase_protection=False, passphrase_protection=False,