From 4e50e642deaa60588e8a1a8257cb73700cd50317 Mon Sep 17 00:00:00 2001 From: obrusvit Date: Wed, 11 Dec 2024 15:37:40 +0100 Subject: [PATCH] fixup! feat(contacts): improve confirm_new_contact --- core/mocks/generated/trezorui2.pyi | 1 + core/src/apps/bitcoin/sign_message.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/mocks/generated/trezorui2.pyi b/core/mocks/generated/trezorui2.pyi index 48bdd49acc..71372985c3 100644 --- a/core/mocks/generated/trezorui2.pyi +++ b/core/mocks/generated/trezorui2.pyi @@ -526,6 +526,7 @@ def flow_confirm_output( def flow_confirm_output_contact( *, title: str, + subtitle: str, contact_label: str, address: str, amount: str, diff --git a/core/src/apps/bitcoin/sign_message.py b/core/src/apps/bitcoin/sign_message.py index 4083ab53ea..b589683582 100644 --- a/core/src/apps/bitcoin/sign_message.py +++ b/core/src/apps/bitcoin/sign_message.py @@ -44,9 +44,10 @@ async def sign_message( if "/" in message_decoded: # message will have format