From f32e8c50d90a748449b2c072c0cee3ae5fbc52a3 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 22 Jan 2018 19:30:44 +0100 Subject: [PATCH] apps/wallet/sign_identity: use secp256k1 by default Fixes device_tests.test_msg_signidentity --- src/apps/wallet/sign_identity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/wallet/sign_identity.py b/src/apps/wallet/sign_identity.py index 2ffdc3601c..375ce33af6 100644 --- a/src/apps/wallet/sign_identity.py +++ b/src/apps/wallet/sign_identity.py @@ -86,6 +86,9 @@ async def layout_sign_identity(ctx, msg): from ..common import coins from ..common import seed + if msg.ecdsa_curve_name is None: + msg.ecdsa_curve_name = 'secp256k1' + identity = serialize_identity(msg.identity) display_identity(identity, msg.challenge_visual)