fix: file picker in import BIP-322 msg needs vdisk and slot_b args
This commit is contained in:
parent
43ef951d83
commit
0b425b8609
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user