From ee2ec8598319cbdae2fded2d5c8ff9bc285f07ea Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 4 Mar 2021 17:33:14 +0100 Subject: [PATCH] fix(core): fix title shown for multisig address --- core/src/trezor/ui/layouts/tt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/trezor/ui/layouts/tt.py b/core/src/trezor/ui/layouts/tt.py index a9e425f3c0..f92bbc2613 100644 --- a/core/src/trezor/ui/layouts/tt.py +++ b/core/src/trezor/ui/layouts/tt.py @@ -248,12 +248,12 @@ async def show_address( if is_multisig: for i, xpub in enumerate(xpubs): cancel = "Next" if i < len(xpubs) - 1 else "Address" - desc = "XPUB #%d" % (i + 1) - desc += " (yours)" if i == multisig_index else " (cosigner)" + desc_xpub = "XPUB #%d" % (i + 1) + desc_xpub += " (yours)" if i == multisig_index else " (cosigner)" if ( await interact( ctx, - _show_xpub(xpub, desc=desc, cancel=cancel), + _show_xpub(xpub, desc=desc_xpub, cancel=cancel), "show_xpub", ButtonRequestType.PublicKey, )