From 4808ae45df9d25e63c118cb241fdc570c313cfd6 Mon Sep 17 00:00:00 2001 From: scgbckbone Date: Wed, 17 Sep 2025 11:06:38 +0200 Subject: [PATCH] bugfix: selftest MicroSD test --- releases/Next-ChangeLog.md | 1 + shared/selftest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/releases/Next-ChangeLog.md b/releases/Next-ChangeLog.md index f0959b69..9077e13f 100644 --- a/releases/Next-ChangeLog.md +++ b/releases/Next-ChangeLog.md @@ -11,6 +11,7 @@ This lists the new changes that have not yet been published in a normal release. - Bugfix: If all change outputs have `nValue=0` they were not shown in UX. - Bugfix: Disallow negative input/output amounts in PSBT. - Bugfix: Fix filesystem initialization after Wife LFS or Destroy Seed. +- Bugfix: Fix MicroSD selftest ## Spending Policy Feature diff --git a/shared/selftest.py b/shared/selftest.py index 637e3fbc..4550b171 100644 --- a/shared/selftest.py +++ b/shared/selftest.py @@ -364,7 +364,7 @@ async def test_microsd(): with CardSlot(slot_b=slot_num) as card: - _, fn = card.pick_filename('test-delme.txt') + fn, _ = card.pick_filename('test-delme.txt') with open(fn, 'wt') as fd: fd.write("Hello")