prevent ownership yikes

This commit is contained in:
scgbckbone 2024-11-15 04:20:38 +01:00 committed by doc-hex
parent d270cf66c6
commit 8957ad3c10
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,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

View File

@ -7,6 +7,7 @@ from glob import settings
from ucollections import namedtuple
from ubinascii import hexlify as b2a_hex
from exceptions import UnknownAddressExplained
from utils import problem_file_line
# Track many addresses, but in compressed form
# - map from random Bech32/Base58 payment address to (wallet) + keypath
@ -330,6 +331,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):