mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-04 21:48:17 +00:00
chore(core): adapt emu.py to new trezorlib
[no changelog]
This commit is contained in:
parent
6520c2258f
commit
dbbead8a2d
@ -282,9 +282,11 @@ 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_management_session())
|
||||||
|
emulator.client = emulator.client.get_new_client()
|
||||||
|
|
||||||
trezorlib.debuglink.load_device(
|
trezorlib.debuglink.load_device(
|
||||||
emulator.client,
|
emulator.client.get_management_session(),
|
||||||
mnemonics,
|
mnemonics,
|
||||||
pin=None,
|
pin=None,
|
||||||
passphrase_protection=False,
|
passphrase_protection=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user