mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 20:11:00 +00:00
fixup! feat(core): Implement entropy check workflow in ResetDevice.
Co-authored-by: matejcik <ja@matejcik.cz>
This commit is contained in:
parent
294661e22e
commit
dfb6210e7d
@ -174,7 +174,7 @@ async def _entropy_check(secret: bytes) -> bool:
|
|||||||
req.show_display = False
|
req.show_display = False
|
||||||
curve_name = (
|
curve_name = (
|
||||||
req.ecdsa_curve_name
|
req.ecdsa_curve_name
|
||||||
or coininfo.by_name(req.coin_name or "Bitcoin").curve_name
|
or coininfo.by_name(req.coin_name).curve_name
|
||||||
)
|
)
|
||||||
keychain = Keychain(seed, curve_name, [paths.AlwaysMatchingSchema])
|
keychain = Keychain(seed, curve_name, [paths.AlwaysMatchingSchema])
|
||||||
msg = await get_public_key(req, keychain=keychain)
|
msg = await get_public_key(req, keychain=keychain)
|
||||||
|
Loading…
Reference in New Issue
Block a user