mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-29 01:28:10 +00:00
fixup! feat(core): Implement entropy check workflow in ResetDevice.
This commit is contained in:
parent
5fa55825db
commit
6c0ab54da8
@ -168,10 +168,7 @@ async def _entropy_check(secret: bytes) -> bool:
|
||||
|
||||
assert GetPublicKey.is_type_of(req)
|
||||
req.show_display = False
|
||||
curve_name = (
|
||||
req.ecdsa_curve_name
|
||||
or coininfo.by_name(req.coin_name).curve_name
|
||||
)
|
||||
curve_name = req.ecdsa_curve_name or coininfo.by_name(req.coin_name).curve_name
|
||||
keychain = Keychain(seed, curve_name, [paths.AlwaysMatchingSchema])
|
||||
msg = await get_public_key(req, keychain=keychain)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user