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

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

[no changelog]
This commit is contained in:
M1nd3r 2025-02-04 14:55:54 +01:00
parent d1caab8f8b
commit 1de81f01c4

View File

@ -288,9 +288,10 @@ 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_seedless_session())
trezorlib.debuglink.load_device( trezorlib.debuglink.load_device(
emulator.client, emulator.client.get_seedless_session(),
mnemonics, mnemonics,
pin=None, pin=None,
passphrase_protection=False, passphrase_protection=False,