From dfb6210e7da7a9158f0db25770341fa32bbaba41 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik <42678794+andrewkozlik@users.noreply.github.com> Date: Fri, 27 Dec 2024 19:05:15 +0100 Subject: [PATCH] fixup! feat(core): Implement entropy check workflow in ResetDevice. Co-authored-by: matejcik --- core/src/apps/management/reset_device/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)