1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-08 05:32:39 +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 061e71213e
commit 660f374e95

View File

@ -282,9 +282,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,