diff --git a/releases/Next-ChangeLog.md b/releases/Next-ChangeLog.md index d5d24a40..d70720c1 100644 --- a/releases/Next-ChangeLog.md +++ b/releases/Next-ChangeLog.md @@ -10,6 +10,7 @@ This lists the new changes that have not yet been published in a normal release. On Q, result is blank screen, on Mk4, result is three-dots screen. - Bugfix: Do not allow to enable/disable Seed Vault feature when in temporary seed mode - Bugfix: Bless Firmware causes hanging progress bar +- Bugfix: Prevent yikes in ownership search - Change: Do not allow to purge settings of current active tmp seed when deleting it from Seed Vault diff --git a/shared/ownership.py b/shared/ownership.py index 319c9e47..b89738f3 100644 --- a/shared/ownership.py +++ b/shared/ownership.py @@ -8,6 +8,7 @@ from ucollections import namedtuple from ubinascii import hexlify as b2a_hex from exceptions import UnknownAddressExplained from public_constants import AFC_SCRIPT, AF_P2WPKH_P2SH, AF_P2SH, AF_P2WSH_P2SH, AF_P2TR +from utils import problem_file_line # Track many addresses, but in compressed form # - map from random Bech32/Base58 payment address to (wallet) + keypath @@ -340,6 +341,9 @@ class OwnershipCache: except UnknownAddressExplained as exc: await ux_show_story(addr + '\n\n' + str(exc), title="Unknown Address") + except Exception as e: + await ux_show_story('Ownership search failed.\n\n%s\n%s' % (e, problem_file_line(e))) + @classmethod def note_subpath_used(cls, subpath):