diff --git a/core/src/apps/management/reset_device/__init__.py b/core/src/apps/management/reset_device/__init__.py index b3413279c1..846794d748 100644 --- a/core/src/apps/management/reset_device/__init__.py +++ b/core/src/apps/management/reset_device/__init__.py @@ -174,7 +174,7 @@ async def _entropy_check(secret: bytes) -> bool: req.show_display = False 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]) msg = await get_public_key(req, keychain=keychain)