bugfix: reload trick pins after start-up sequence done with proper settings loaded

This commit is contained in:
scgbckbone 2024-05-06 15:14:53 +02:00 committed by doc-hex
parent 7c0f225ff6
commit 21174226db
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ This lists the changes in the most recent firmware, for each hardware platform.
# Shared Improvements - Both Mk4 and Q
- Bugfix: Migrate already saved multisig wallet derivation paths from "'" to "h".
- Bugfix: Reload trick pins before checking for active duress wallet.
# Mk4 Specific Changes

View File

@ -525,6 +525,7 @@ async def new_from_dice(menu, label, item):
async def any_active_duress_ux():
from trick_pins import tp
tp.reload()
if any(tp.get_duress_pins()):
await ux_show_story('You have one or more duress wallets defined '
'under Trick PINs. Please empty them, and clear '
@ -767,7 +768,6 @@ async def start_login_sequence():
#
from ux import idle_logout, ux_login_countdown
from glob import dis
import callgate
from imptask import IMPT
if pa.is_blank():
@ -911,6 +911,7 @@ async def start_login_sequence():
from usb import enable_usb
enable_usb()
async def restore_main_secret(*a):
from glob import dis
from seed import restore_to_main_secret, in_seed_vault