From dbbead8a2d69785d98812aea115ea3278f87c3c0 Mon Sep 17 00:00:00 2001 From: M1nd3r Date: Mon, 2 Dec 2024 15:38:30 +0100 Subject: [PATCH] chore(core): adapt emu.py to new trezorlib [no changelog] --- core/emu.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/emu.py b/core/emu.py index 0cf88a6ca9..ac568e62b0 100755 --- a/core/emu.py +++ b/core/emu.py @@ -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,