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

core/boot: do not pass useless argument to request_sd_salt

This commit is contained in:
matejcik 2019-11-07 11:30:43 +01:00
parent e9fe6c2943
commit 51a5d8e30a

View File

@ -16,7 +16,7 @@ async def bootscreen() -> None:
if storage.sd_salt.is_enabled() or config.has_pin():
await lockscreen()
salt = await request_sd_salt(wire.DummyContext())
salt = await request_sd_salt()
if not config.has_pin():
config.unlock(pin_to_int(""), salt)