apps/wallet/sign_identity: use secp256k1 by default

Fixes device_tests.test_msg_signidentity
This commit is contained in:
Jan Pochyla 2018-01-22 19:30:44 +01:00
parent 089168209b
commit f32e8c50d9
1 changed files with 3 additions and 0 deletions

View File

@ -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)