diff --git a/core/src/apps/management/reset_device/__init__.py b/core/src/apps/management/reset_device/__init__.py index e10cb810e6..4b3d8bf2ef 100644 --- a/core/src/apps/management/reset_device/__init__.py +++ b/core/src/apps/management/reset_device/__init__.py @@ -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)