fix: file picker in import BIP-322 msg needs vdisk and slot_b args

This commit is contained in:
scgbckbone 2026-03-05 03:58:15 +01:00 committed by Peter D. Gray
parent 43ef951d83
commit 0b425b8609
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -315,7 +315,7 @@ class ApproveTransaction(UserAuthorizedAction):
from ux_q1 import QRScannerInteraction
msg = await QRScannerInteraction().scan_text('Scan message from a QR code')
else:
choices = await file_picker(suffix='.txt', ux=False)
choices = await file_picker(suffix='.txt', ux=False, **ch)
target = "%s.txt" % b2a_hex(self.psbt.por322_msg_hash).decode()
for fname, dir, _ in choices:
@ -323,7 +323,7 @@ class ApproveTransaction(UserAuthorizedAction):
fn = dir + "/" + fname
break
else:
fn = await file_picker(choices=choices)
fn = await file_picker(choices=choices, **ch)
if not fn: return