Skip to content

Commit

Permalink
fix: try to fix emu.py
Browse files Browse the repository at this point in the history
  • Loading branch information
M1nd3r committed Nov 20, 2024
1 parent e29c8d5 commit 39062a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/emu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 39062a7

Please sign in to comment.