diff --git a/core/emu.py b/core/emu.py index dd183fe9c1..f7eaf33b01 100755 --- a/core/emu.py +++ b/core/emu.py @@ -276,9 +276,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,